I have also troubles importing the demo content.
My PHP is version 7.4.13.
My WordPress-site is setup with https and the site health is showing entirely OK.
All the wanted plugins are installed and activated.
Wordpress and all plugins are up-to-date.
BUT the installation of the demo content (Dark Intranet) get errors. I have run the installation with PHP debug to figure out what the errors are. And I get among other errors following in the PHP debug-file:
PHP Warning: XMLReader::expand(): file:/XXXXXXX/wp-content/uploads/2020/12/content-2020-12-22__03-20-46.xml:24972: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0x00 0x2A 0x00 0x69 in XXXXXXX\wp-content\themes\cera\libs\merlin\vendor\awesomemotive\wp-content-importer-v2\src\Importer.php on line 200
PHP Warning: Invalid argument supplied for foreach() in XXXXXXX\wp-content\themes\cera\libs\merlin\vendor\awesomemotive\wp-content-importer-v2\src\WXRImporter.php on line 627
Several lines with:
WordPress database error Multiple primary key defined for query ALTER TABLE wp_bp_activity CHANGE COLUMN
idid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY made by do_action(‘wp_ajax_merlin_content’), WP_Hook->do_action, WP_Hook->apply_filters, Merlin->_ajax_content, AwesomeMotive\WPContentImporter2\Importer->import, AwesomeMotive\WPContentImporter2\WXRImporter->import_start, do_action(‘import_start’), WP_Hook->do_action, WP_Hook->apply_filters, Cera_Merlin->import_start, Cera_Merlin->activate_bp_components, bp_core_install, bp_core_install_activity_streams, dbDelta
Several lines with:
PHP Notice: Trying to get property ‘ID’ of non-object in XXXXXXX\wp-content\themes\cera\inc\merlin\class-cera-merlin.php on line 1019
with different linenumbers
As you can see something is wrong in the installation process of the demo content
How do I get across these errors?
AndersDecember 22, 2020 at 06:05 #27200
We’re very sorry about this. I took the liberty to split your reply from this other topic as the root causes of both your issues might be totally different.
If you’re convinced that something went wrong during the import, it’s recommended to address the issue right now as it might lead to other problems in the future.
Before investigating any further, we really suggest you to reset your WordPress database using WP Reset (https://wordpress.org/plugins/wp-reset/) and start fresh with our setup wizard.
You can easily install the theme by relaunching the setup wizard, as it will programmatically do every steps for you. It is located under “Appearance > Theme Setup” and will proceed to the demo import and its closing tasks.
Usually, the setup wizard should make the demo import run smoothly, but issues can occur sometimes. Please give a quick look to the the following post, as we address the most installation common issues:
Finally, this topic might also catch your attention as one of our user shared the server configuration that has helped him to solve a similar issue:
We hope this will help! 🙂
Kind regards,December 23, 2020 at 13:45 #27221
Thank you for your response. I hope you enjoyed a merry Christmas.
My major issue is that the Demo content and layout is not appearing when I have installed the Cera theme with the demo content.
What I have done is to install WordPress version 5.5.3 (Cera is not made for version 5.6 yet) on a well-functioning PHP (version 7.4.13) and MySQL (version 8.0.22). The site health is OK with no issues at all. When I have tried to use other themes, everything works fine including their content and demo layout. But Cera does not.
I have reinstalled WordPress many times at installed Cera on top of a fresh WordPress in many different ways with no success.
I have tried with and without Elementor – No effect. I have tried to let Ceras activation-procedure install and activate all the plugins I need or install and activate all the needed plugins prior to the installation of the Cera theme – still with no success.
I have tried to import the demo-content given in your XML-file using the WordPress importer – Still with no success. Actually, this ends up with a hard 500 (nothing in either the WordPress log or the PHP log on what happened).
Therefore I have tried to investigate the log files for other errors during the installation of the Cera theme and the used plugins. Some minor errors in the plugins could be solved following instructions for them. But it did not help on the installation of Cera.
I attach a screen-dump on how my website looks like after having installed the Cera theme and the demo content and layout. I expected a website looking like the Cera-demo-website. But it is not the case.
Please explain how to install the demo content and layout. And NOT by referring to the same not useful troubleshooting page you also have also referred others to. It does NOT help, because it contains no solution.
Is there some features in PHP that is provided by Cera? Is there in WordPress?
In the merlin-wp/main.log there is a lot of line-pairs of following kind:
[2020-12-26 16:24:16] merlin-logger.DEBUG: Invalid taxonomy.   [2020-12-26 16:24:16] merlin-logger.WARNING: Failed to import bp_docs_associated_item Analyst Practice  
I also realized that your installation procedure is NOT idempotent, as an installation procedure should be. It is not fair that I have to remove everything and then reinstall everything just because I want to change something in the selections or configuration (if I do NOT remove everything and reinstall everything again a lot of errors is popping up in the PHP error log.
I have tried so many things, so many reinstallations with different selections. I have wasted so much time. You MUST be able to provide me with a working installation procedure.
AndersDecember 26, 2020 at 18:45 #27271
Yes thank you, and merry Christmas to you also! I hope you’re also enjoying the holidays.
I’m really sorry for the trouble this theme is giving you during the installation process. It is very odd as you seem to have a very well configured server.
Could you tell me the values you have set for the following PHP settings?
A value of
300is recommended for both as the import process sometimes requires more time to create some chunks of the content. When those do not exist, it will break the following importing steps.
Could you share the content of your
merlin-wp/main.logfiles with us please? You can post the content of this file as plain text in your next reply and mark it as private to keep this between us.
After having reviewed your next reply, we’ll be able to tell you if the issue is caused by our product, a third party plugin or any type misconfiguration on your server.
Thank you.December 27, 2020 at 17:39 #27289
Thank you for your tryings
But of cause I have already tried all the suggestions given here on the support site. I am not the first one who has issues with installation of the the demo content.
After several hard tryings it turns out, that having debug turned ON in WordPress ruins the installation of the demo content.
Turning debug OFF in WordPress the demo content installs fine – This is really weirdDecember 27, 2020 at 21:36 #27295
@hyldahl I’m happy to read that you have been finally able to install our theme. After some much effort, this is very good news! 🙂
And thank you for your contribution and for investigating this issue. It helps us very much as we’ll try to reproduce this issue during our next development phase for our theme. Maybe there is something that we can do to prevent this from happening in the future.December 28, 2020 at 09:39 #27304
The topic ‘Dashboard not completely looking like demo also’ is closed to new replies.