I am getting the following errors: `PHP Error Count

I am getting the following errors:

PHP Error	Count	Location	Call Stack	Component
Strict Redefining already defined constructor for class Wdca_PublicPages 1 wp-content/plugins/custom-ads/lib/class_wdca_public_pages.php:13 wdca__init()
do_action('init') Plugin: custom-ads
Non-static method Wdca_PublicPages::serve() should not be called statically 1 wp-content/plugins/custom-ads/custom-ads.php:79 Wdca_PublicPages::serve()

If that doesn't flow well here is a screen shot

  • Adam Czajczyk
    • Support Gorilla

    Hey Jim,

    I hope you’re well today and thank you for your question!

    This is known issue related to the PHP version running on your server and its strict settings. So far we need to keep most of our plugins “backwards compatible” with older PHP versions but it shouldn’t affect performance at all.

    That said, you can safely ignore this error and the plugin should work fine. If you wish to get rid of error’s notification please add the following code to your current theme’s functions.php file:

    ini_set('error_reporting', E_ALL & ~E_STRICT & ~E_DEPRECATED);

    I hope this helps!



Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.