Skip to:
Content
Pages
Categories
Search
Top
Bottom

Host update version php to 5.4.3 -> Result Warning: Creating default Message -> Easy Help ?

  • Hello everyone,

    My website worked well for several months with budypress until these messages appear? neck, I tried to reinstall BuddyPress, but these are still present, the neck I can not do anything more.

    Do you have a simple solution?

    I Look through the following link but I find it hard to understand:
    http://www.all-mail-archive.com/thread/1085317/buddypress-trac-BuddyPress-4191-PHP-5-4-Warning-after-BuddyPress-activation/1

    The errors messages.

    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 148

    Warning: Creating default object from empty value in /var/www/legtux.org/users/cyclonunited/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 52

    Warning: Creating default object from empty value in /var/www/legtux.org/users/cyclonunited/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 54

    Warning: Creating default object from empty value in /var/www/legtux.org/users/cyclonunited/wp-content/plugins/buddypress/bp-core/bp-core-loader.php on line 167

    Warning: Creating default object from empty value in /var/www/legtux.org/users/cyclonunited/wp-content/plugins/buddypress/bp-core/bp-core-loader.php on line 172

    Warning: Creating default object from empty value in /var/www/legtux.org/users/cyclonunited/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php on line 202

    Warning: Creating default object from empty value in /var/www/legtux.org/users/cyclonunited/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php on line 202

    Warning: Creating default object from empty value in /var/www/legtux.org/users/cyclonunited/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php on line 202

    Warning: Creating default object from empty value in /var/www/legtux.org/users/cyclonunited/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php on line 202

    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 318

Viewing 5 replies - 1 through 5 (of 5 total)

  • shanebp
    Moderator

    @shanebp

    Here is the fix:
    https://buddypress.trac.wordpress.org/changeset/6023

    You’ll have to manually edit the files – should be easy as you don’t have to remove anything.
    Just find the location in the files and add the ‘green’ areas.

    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?
    _________________________________________________________________________

    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 )


    bestofelectro
    Member

    @bestofelectro

    Bonjour, je suis aussi hébergé chez Legtux, je confirme le problème vient bien de la version de PHPmyAdmin, j’ai installer WordPress en local avec:
    Wamp + PHPMyAdmin 5.4.3= buddypress ne fonctionnait pas
    Wamp + PHPMyAdmin 5.3.3=buddypress fonctionne
    Avez vous reussit à faire fonctionner Buddypress ? Sinon je propose de faire un message à l’administrateur Legtux pour voir si il ne peut pas downgrader phpmyadmin vers la version 5.3

    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Host update version php to 5.4.3 -> Result Warning: Creating default Message -> Easy Help ?’ is closed to new replies.
Skip to toolbar