Find Answers and Get Support › Forums › Gorgo – Multi-Purpose Gutenberg Blog & Magazine Theme › Compatible Plugins › Paid Memberships Pro › Error message in header
- This topic has 1 reply, 2 voices, and was last updated 4 years ago by
Manathan.
-
AuthorPosts
-
RoyParticipant@yungsun17
- 14 Topics
- 41 Posts
Hello,
I have an error message because of the plugin Paid Memberships Pro :
Warning: min(): Array must contain at least one element in /var/www/dofush/data/www/toutavis.com/wp-content/plugins/paid-memberships-pro/includes/functions.php on line 2289
I don’t want to use this plugin for now so I disabled it, how can I remove this error from my site ?
Regards, Jeremy
May 2, 2021 at 19:38 #31199@themodactyl- 0 Topics
- 6750 Posts
Hi Roy,
No worries. These are PHP warnings, not errors. Unlike errors, warnings won’t break your website. They’re just messages aimed at developers to improve their code. Don’t hesitate to reach the Paid Memberships Pro plugin authors to report this issue on their support forums: paidmembershipspro.com/support/
To hide this message, I suggest that you activate error logging on your website. Please keep WP_DEBUG to true and just paste the following code lines in your wp-config.php file, just before the line that says ‘That’s all, stop editing! Happy blogging.’:
// Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 );
More on this in the following topic: Debugging in WordPress
You will still be able to consult the warnings and errors triggered by your website but these won’t appear on your pages anymore.
We remain available for all support requests related with the use of your theme.
Best,
May 3, 2021 at 10:36 #31213 -
AuthorPosts
Hi there,
This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!
Best regards,
The Themosaurus team.
The topic ‘Error message in header’ is closed to new replies.