Find Answers and Get Support › Forums › Gwangi – PRO Multi-Purpose Membership, Social Network & BuddyPress Community Theme › Popular Features › Member Profile › Error : Warning: A non-numeric value encountered in
- This topic has 3 replies, 2 voices, and was last updated 4 years ago by Themosaurusrex.
-
AuthorPosts
-
DorianrevestParticipant@dorianrevest83
- 19 Topics
- 55 Posts
Hello,
I have a message on user profil :
Warning: A non-numeric value encountered in /home/www/metwo/wp-content/plugins/match-me-for-buddypress/class-mp-bp-match.php on line 120Regards
March 18, 2020 at 20:31 #10730@themosaurusrex- 0 Topics
- 2048 Posts
Hi @dorianrevest83,
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. ?
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: https://codex.wordpress.org/Debugging_in_WordPressYou will still be able to consult the warnings and errors triggered by your website but these won’t appear on your pages anymore.
As this issue is related with Match me for BuddyPress, it’s best if you try to reach the plugin authors. They will be more informed and better suited to help you.
To go further, we invite you to post your request on their support forums:
https://wordpress.org/support/plugin/match-me-for-buddypress/We remain available for all support requests related with the use of your theme.
Best regards,
March 19, 2020 at 16:29 #10756DorianrevestParticipant@dorianrevest83- 19 Topics
- 55 Posts
Thank you very much 🙂
I did the manipulation and it works.Best regards
March 20, 2020 at 10:25 #10770@themosaurusrex- 0 Topics
- 2048 Posts
You’re welcome.
Cheers,
March 20, 2020 at 13:12 #10784 -
AuthorPosts
The topic ‘Error : Warning: A non-numeric value encountered in’ is closed to new replies.