Hi there. I've been put in charge of a site that used your old popover plugin. I decided to upgrade and pay for the new PopUp Plugin but I can't seem to get anything to work without being plagued with Strict Standard errors, even on the webpages. So in the popover.php file I threw in a "error_reporting(0);" and it suppressed the errors for a stint. Now when I attempted to create a new popup and save it I got an error starting with; "Strict Standards: Non-static method IncPopupRules::init() should not be called statically". So, I deleted the new popup I created and it didn't go away. I cannot seem to get rid of the error message. Any thoughts?
Taking over someone elses work can be challenging sometimes, you enjoying it so far?
Is WP_DEBUG enabled in your wp-config.php?
That should suppress them, can you please post the full errors as well so I can pass this along to the developer for you.
Also, is there a way to just disable these error messages just for the plugin though? I don't want to turn off my debug for the rest of the site.
To disable displaying these Notices without disabling wp debug you have to change some code in the following PopUp Pro plugin file.
Edit the following function declarations in the above file on line numbers 375 and 609 respectively as shown below.
The above code change will disable most of the PopUp Pro generated notices/warning messages but not all.
Please let me know whether the above changes help you to use PopUp Pro functionality when setting wp debug true or not.
I have also notified this to the plugin developer so that this can be fixed in the plugin.
For testing I usually use an older PHP version to ensure backwards compatibility. Those strict-standard notes are new in PHP 5.4, so I did not notice them before.
However, they will be fixed in the next release of the plugin!
in my wp-config file. That way I dont have to change the wp-debug to false during my development stage and I can see the strict standard messages in my console.app as they occur. If the plugin starts acting too wonky and I'm getting messages in my console I will let you know what is going on. But thank you both for your help.
Just to update you that the "Strict Standards" messages have been fixed in the latest released version( 4.6.1.2 ) of Popup Pro plugin.
Could you please use it and let us know how it works for you?
hey @Vinod Dalvi perhaps I spoke too soon. This update caused another error for me in the public.js / public.min.js file. I will open a new support topic for this.
I have responded on your another created topic.
Let's resolve the issue on that topic to keep support tickets separate.