-
AuthorPosts
-
February 10, 2021 at 2:28 pm #1279465
Hello, have recently started using the Enfold theme. Have been editing and adding content. However, this message keeps displaying.
“There has been a critical error on this website. Please check your site admin email inbox for instructions.”
There hasn’t been an email as described, with instructions. I am able to just refresh the page and just carry on. What should I do. Thanks.
February 10, 2021 at 3:18 pm #1279495Hey Alan,
Can you please check the server log for errors?
Best regards,
VictoriaFebruary 10, 2021 at 3:51 pm #1279521hello again.
The backend of all this is a little foreign to me. But i have found the error log and think this is what is meant: Have no idea how to interpres it though. I this helpful to know what’s to do?
[08-Feb-2021 16:06:46 UTC] PHP Warning: Declaration of WP_CLI\LanguagePackUpgrader::download_package($package) should be compatible with WP_Upgrader::download_package($package, $check_signatures = false, $hook_extra = Array) in /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/wp-cli/vendor/wp-cli/language-command/src/WP_CLI/LanguagePackUpgrader.php on line 23
[09-Feb-2021 06:23:55 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32768 bytes) in /home/alanlodge/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/magazine/magazine.php on line 1173
[09-Feb-2021 06:24:03 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32768 bytes) in /home/alanlodge/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/magazine/magazine.php on line 1173
[10-Feb-2021 06:19:34 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32768 bytes) in /home/alanlodge/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/heading/heading.php on line 270
[10-Feb-2021 06:19:38 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 12288 bytes) in /home/alanlodge/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/headline_rotator/headline_rotator.php on line 306February 12, 2021 at 7:10 am #1279906Hi,
Thanks for the update, and for the log. Please try to increase the memory allocated to PHP in your wp-config.php file: https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php.
If you should need help with that, then please include FTP and admin WordPress login details in private. So that we can have a closer look at your site.
Best regards,
RikardFebruary 12, 2021 at 4:31 pm #1280097This reply has been marked as private.February 15, 2021 at 4:56 am #1280451Hi,
Thanks for that. I’ve added this line to your wp-config.php file:
define( 'WP_MEMORY_LIMIT', '256M' );
And that seems to have worked, since the login screen was showing an error message before adding it. After adding it, the login screen works as expected. Could you try working on your site as you normally would, and let us know if you should have any further problem?
Best regards,
RikardFebruary 15, 2021 at 7:47 pm #1280623Hi again. Yippy etc …. I think you have solved it. Thank you. I got the critical error message when trying to edit. It kept saying i had been sent an email with instructions on what’s to do. [it hadn’t!]. But then imply refreshed and carried on and it accepted edit again. Also, when out of edit and simply loading pages, it would frequently just give a blank screen until refreshed again. Was hard for someone of limited experience [me] to diagnose reason for fault. Unsure if memory issues are a common problem. I found it scary to work directly on config file myself. Is this something that perhaps might be adjusted from dashboard in future? Again, my thanks. xx
February 17, 2021 at 5:13 am #1281581 -
AuthorPosts
- You must be logged in to reply to this topic.