Forum Replies Created
- 
		
			
Hello, there is a simply solution, few Extension as Buddypress shows messages errors with PHP 5.4, we could hide them. Bonjour, la solution ci dessous en attendant que Budypress et d’autres extensions ( a vérifier au cas par cas) ne provoque pas d’erreur avec le php 5.4. We must hide the messages errors / Nous devons cacher les erreurs PHP : In /wp-includes/class-wp-error.php 
 /***************************Add after the first < php *************************************/
 > after php to close it, don’t appear in this message, don’t lost it to close php
 > after php n’apparaît pas dans ce message, ne pas l’oublier pour refermer la balise.
 /***************************Ajouter après la première balise< php *************************************/
 error_reporting(0);
 @ini_set(‘display_errors’, 0);Or simply directly to wp-config in the root. 
 Ou simplement dans le fichier wp-config à la racine.PLus d’info dans / Most info in : http://www.wordimpressed.com/wordpress/php-turn-on-or-off-error-reporting/ With each update of WordPress, we must using this solution 
 A chaque mise à jour de WordPress, il faut refaire la manipulation si besoin.Cordially / A bientôt. CyclonUnited I think have found the error, my host updated the version of php 5.3.5 to php 5.4.3. What should I do? modify htaccess file or another or … ^^ ? Thanks for all. ( An another member have solved the problem, but i can’t understand all the fixes if he have realised : link : https://buddypress.trac.wordpress.org/ticket/4191 ) Thanks, After the fix, i have in my admin menu the errors : Warning: Creating default object from empty value in /var/www/legtux.org/users/cyclonunited/wp-content/plugins/buddypress/bp-loader.php on line 71 Warning: Creating default object from empty value in /var/www/legtux.org/users/cyclonunited/wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php on line 37 Warning: Creating default object from empty value in /var/www/legtux.org/users/cyclonunited/wp-content/plugins/buddypress/bp-core/bp-core-functions.php on line 321 _________________________________________________________________________ 
 On my site only the 2nd first messages appeared
 _________________________________________________________________________Warning: Creating default object from empty value in /var/www/legtux.org/users/cyclonunited/wp-content/plugins/buddypress/bp-loader.php on line 71 Warning: Creating default object from empty value in /var/www/legtux.org/users/cyclonunited/wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php on line 37 _________________________________________________________________________ 
 I have also another plugin as Events Manager and Bp Group Hierarchy that showing different error of warning.
 But, i don’t have realize any update for there plugins in the week, what’s the problem?
 _________________________________________________________________________