Please do not disable error reporting
-
Hello,
On your main plugin file you use a php global function to disable error reporting and you never enable it back…
In fact on line 39 of your
wp-content/plugins/social-media-auto-publish/social-media-auto-publish.php
we can find the following code:error_reporting(0);
You may not be aware but by doing this you do not only affect your plugin but all of others already activated and WordPress itself.
If you really need to do this can you please enable back error reporting to this previous state by doing something like this:
$savedErrorState = error_reporting(); // save the current error state
error_reporting(0); // disable error reporting
// do what need to be done without error reporting
error_reporting( $savedErrorState ); // go back to the initial error reporting state
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.