Errors with the newly installed site

Issue Summary

  • The site looks fine in the server, but it shows bunch of errors in the Local.
    I didn’t modify anything. I tried directly pulled from WP Engine site and also I tried to install them manually. But Both cases show the same errors on the site, although the site looks totally fine in the server.

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?
    → It only happens to this site.

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?
    → Yes

Replication

Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!
→ I attached the screenshot. This occurs when I install the site in the Local.

System Details

  • Which version of Local is being used?
    → version 5.9.8+5191

  • What Operating System (OS) and OS version is being used?

    • For example: macOS Catalina or Windows 10 Professional
      → macOS 11.1
  • Attach the Local Log. See this Community Forum post for instructions on how to do so:

local-lightning.log (61.9 KB)

Hey @haydenlee welcome to the Local Community!

By default Local is set to show PHP errors and Warnings automatically. This can be easily fixed by implementing the following code to hide the warning in wp-config.php

ini_set(‘display_errors’,‘Off’);
ini_set(‘error_reporting’, E_ALL );
define(‘WP_DEBUG’, false);
define(‘WP_DEBUG_DISPLAY’, false);

Additional information about errors and warning can be found on this helpful document https://localwp.com/help-docs/troubleshooting/warnings-and-errors-in-local/

Hi Krste,

I added the following code in wp-config.php file, and then I restarted LocalWP. But I still see those warnings, and it is extremely slow to view any page in Local.

ini_set(‘display_errors’,‘Off’);
ini_set(‘error_reporting’, E_ALL );
define(‘WP_DEBUG’, false);
define(‘WP_DEBUG_DISPLAY’, false);

You do realize that your posted images are illegible and therefore useless. Please make them larger or don’t group them into a single image.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.