http 500 – PHP Fatal error: Cannot declare class WP_Metadata_Lazyloader
-
My website version was in 6.2.2 and the error shows previously as
1. “PHP Fatal error: Cannot declare class WP_Metadata_Lazyloader, because the name is already in use in /home/karanfilasm/public_html/wp-includes/class-wp-metadata-lazyloader.php on line 32” or
2. now currently as “PHP Fatal error: Cannot redeclare wp_queue_comments_for_comment_meta_lazyload() (previously declared in /home/udbetunitedum3/public_html/wp-includes/comment.php:520) in /home/udbetunitedum3/public_html/wp-includes/deprecated.php on line 4659”
I have tried everything PHP version change, fresh plugin, theme, fresh htaccess, wp-config, but it got resolved after fresh wp core files update even with version 6.2.2 or 6.3. What’s the problem then? Even checked the class it said but there was no class defined in any of the files defined twice
Ref:
https://prnt.sc/HwJdAWECtHQ0
https://prnt.sc/d-E2YYOEi71o
any solution? did anyone face the same issue?The page I need help with: [log in to see the link]
- The topic ‘http 500 – PHP Fatal error: Cannot declare class WP_Metadata_Lazyloader’ is closed to new replies.