Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #1430152

    Hi after updating plugins I get the following error when I try to access wp-admin.
    Fatal error: W3TC\Generic_Plugin::ob_callback(): Cannot use output buffering in output buffering display handlers in /homepages/43/d603302806/htdocs/clickandbuilds/AnneCurrySculpture/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/heading/heading.php on line 462
    I have the must recent theme installed

    #1430159

    Hey fanlokbun,

    Did you try to deactivate all plugins by renaming the plugins folder via FTP?

    Best regards,
    Rikard

    #1430164

    Yes I tried that. Still get the same error. Swapped theme temporarily and backend worked..

    #1430199

    Hi,

    Thanks for the update. Which version of PHP are you running? If you should need further help, then please include admin WordPress and FTP login details in private.

    Best regards,
    Rikard

    #1430216

    PHP Version 8.1.27
    Thanks for your help guys.

    #1430231

    Hi,

    Thank you for the info.

    We also encounter this error when we attempt to log in to the site.

    Fatal error: Allowed memory size of 62914560 bytes exhausted (tried to allocate 20480 bytes) in /homepages/43/d603302806/htdocs/site/wp-includes/functions.php on line 2190

    Have you tried increasing the PHP memory limit?

    // https://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/

    You can add this code in the wp-config.php file.

    	
    define( 'WP_MEMORY_LIMIT', '256M' );
    

    Best regards,
    Ismael

    #1430236

    I added it at the end as below but still getting an error:
    Fatal error: W3TC\Generic_Plugin::ob_callback(): Cannot use output buffering in output buffering display handlers in /homepages/43/d603302806/htdocs/clickandbuilds/AnneCurrySculpture/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/progressbar/progressbar.php on line 917

    Fatal error: Allowed memory size of 62914560 bytes exhausted (tried to allocate 40960 bytes) in /homepages/43/d603302806/htdocs/clickandbuilds/AnneCurrySculpture/wp-includes/plugin.php on line 177

    #1430791

    Hi,

    Thank you for the info.

    On the frontend, we can see the following notice or error:

    Warning: Constant WP_MEMORY_LIMIT already defined in
    

    Did you add the WP_MEMORY_LIMIT constant elsewhere? It’s possible that this is overriding the declaration in the wp-config.php file.

    To resolve this error temporarily, try to disable the W3TC plugin.

    Best regards,
    Ismael

    #1431283

    I didn’t add WP_MEMORY_LIMIT constant anywhere but guy from Ionos may have.

    I have disabled the W3TC plugin via FTP and get a new error:

    W3 Total Cache Error: some files appear to be missing or out of place. Please re-install plugin or remove /homepages/43/d603302806/htdocs/clickandbuilds/AnneCurrySculpture/wp-content/advanced-cache.php.

    Fatal error: Allowed memory size of 62914560 bytes exhausted (tried to allocate 20480 bytes) in /homepages/43/d603302806/htdocs/clickandbuilds/AnneCurrySculpture/wp-includes/functions.php on line 650

    Fatal error: Allowed memory size of 62914560 bytes exhausted (tried to allocate 20480 bytes) in /homepages/43/d603302806/htdocs/clickandbuilds/AnneCurrySculpture/wp-includes/class-wp-fatal-error-handler.php on line 74

    Thanks
    Rob

    #1431347

    Hi,

    and get a new error:

    Did you add any modifications to the functions.php file? To get rid of the new error, please delete the wp-content/advanced-cache.php file.

    Best regards,
    Ismael

    #1431359

    No modifications to functions.php.
    I have removed wp-content/advanced-cache.php file.
    Now get this error on the FRONT END TOO. I need the front end to look ok:

    Warning: Constant WP_MEMORY_LIMIT already defined in /homepages/43/d603302806/htdocs/clickandbuilds/AnneCurrySculpture/wp-config.php on line 54

    Warning: session_start(): Session cannot be started after headers have already been sent in /homepages/43/d603302806/htdocs/clickandbuilds/AnneCurrySculpture/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php on line 112

    Warning: session_start(): Session cannot be started after headers have already been sent in /homepages/43/d603302806/htdocs/clickandbuilds/AnneCurrySculpture/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio/portfolio.php on line 65

    #1431367

    Hi,

    You can get rid of the warnings temporarily by adding this code in the wp-config.php file.

    define( 'WP_DEBUG_DISPLAY', false );
    

    Make sure to add it and the memory limit declarations above this line.

    /** Absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);
    

    Best regards,
    Ismael

    #1431376

    Thanks Ismael I have added the code and moved memory limit declaration and it has got rid of the warning on the front end. I also have access to the backend.
    Plugins Updraft Plus, Yoast SEO and Simple History are no longer showing despite being in the plugins folder. Do I just add them again?
    Also there is this error on the Updates page:
    Warning: Attempt to read property “item_id” on int in /homepages/43/d603302806/htdocs/clickandbuilds/AnneCurrySculpture/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 93

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/43/d603302806/htdocs/clickandbuilds/AnneCurrySculpture/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php:93) in /homepages/43/d603302806/htdocs/clickandbuilds/AnneCurrySculpture/wp-admin/admin-header.php on line 9

    #1431452

    Hi,

    Plugins Updraft Plus, Yoast SEO and Simple History are no longer showing despite being in the plugins folder. Do I just add them again?

    We are not really sure why the plugins are not displaying in the plugins panel. Please make sure to create a site backup before attempting to install the plugins again.

    Also there is this error on the Updates page:

    These warnings should not be displaying because we already set the WP_DEBUG_DISPLAY to false. Did you remove the WP_DEBUG_DISPLAY constant from the wp-config.php file?

    Best regards,
    Ismael

    #1431475

    Thanks Ismael,

    Did you remove the WP_DEBUG_DISPLAY constant from the wp-config.php file?

    No but if it is safe to ignore the warning that’s fine.
    I could not delete the old plugin file via FTP but I renamed them and installed the three plugins and all is working okay.
    Thanks again for all your help. You can close this ticket.

    • This reply was modified 10 months, 1 week ago by fanlokbun.
    • This reply was modified 10 months, 1 week ago by fanlokbun.
Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Critical error can’t load backend’ is closed to new replies.