I have a Php Fatal error message. Need Help

[ad_1]

​

\[09-Aug-2023 19:27:14 UTC\] PHP Fatal error: Cannot declare class WP\_Metadata\_Lazyloader, because the name is already in use in………..in line 32

How do I fix that if class WP\_Metadata\_Lazyloader, I tried changing it to class WP\_Metadata\_Lazyloader\_new but it doesn’t work.

Someone help me fix it.

​

[ad_2]
3 Comments
  1. You must have an unusual setup for this to happen, can you please explain what action did you take before this happened?

  2. This issue seems to be related to an “improvement” introduced in the WP 6.3 update

    [https://core.trac.wordpress.org/ticket/58185])

  3. >use in………..in line 32

    Which file? Feel free to edit out anything that maybe specific to your site. Mainly I am curious if this is related to core, theme, or plugin.

    Edit: Actually, it looks like it is likely /wp-includes/class-wp-metadata-lazyloader.php presumably there is already a class with that name in your theme or a plugin.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer