Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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.

    #1279495

    Hey Alan,

    Can you please check the server log for errors?

    Best regards,
    Victoria

    #1279521

    hello 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 306

    #1279906

    Hi,

    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,
    Rikard

    #1280097
    This reply has been marked as private.
    #1280451

    Hi,

    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,
    Rikard

    #1280623

    Hi 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

    #1281581

    Hi,

    Thanks for the update. You can’t adjust this from the dashboard unfortunately, it has to be added directly into the wp-config.php file. If you should have any further problems like these, then just let us know here.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.