Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author myCred

    (@designbymerovingi)

    That does not sound right. If you enable WP_DEBUG in your wp-config.php file and re-visit the hooks page, do you get any error messages?

    Thread Starter quokka

    (@quokka)

    Hi Gabriel,

    Thanks for your reply..

    Yes, that shows some info ??
    Below it is…

    Thanks again, I appreciate your help!

    Bas

    Notice: wp_enqueue_script was called <strong>incorrectly</strong>. Scripts and styles should not be registered or enqueued until the <code>wp_enqueue_scripts</code>, <code>admin_enqueue_scripts</code>, or <code>init</code> hooks. Please see <a href="https://codex.www.ads-software.com/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.3.) in /var/www/vhosts/sitename.com/httpdocs/wp-includes/functions.php on line 2962
    
    Notice: bbp_setup_current_user had de <strong>verkeerde</strong> naam. The current user is being initialized without using $wp->init(). Bezoek de <a href="https://codex.www.ads-software.com/Debugging_in_WordPress">Debugging in WordPress</a> voor meer informatie.(Dit bericht is toegevoegd in versie 2.3.) in /var/www/vhosts/sitename.com/httpdocs/wp-includes/functions.php on line 2962
    
    Notice: bp_setup_current_user had de <strong>verkeerde</strong> naam. De huidige gebruiker wordt geinitialiseerd zonder $wp->init() te gebruiken Bezoek de <a href="https://codex.www.ads-software.com/Debugging_in_WordPress">Debugging in WordPress</a> voor meer informatie.(Dit bericht is toegevoegd in versie 1.7.) in /var/www/vhosts/sitename.com/httpdocs/wp-includes/functions.php on line 2962
    
    Notice: Undefined property: stdClass::$id in /var/www/vhosts/sitename.com/httpdocs/wp-content/themes/frisco-for-buddypress/functions-custom.php on line 153
    
    Notice: Undefined property: stdClass::$id in /var/www/vhosts/sitename.com/httpdocs/wp-content/themes/frisco-for-buddypress/functions-custom.php on line 231
    
    Notice: Undefined property: myCRED_Hooks::$hook_prefs in /var/www/vhosts/sitename.com/httpdocs/wp-content/plugins/mycred/modules/mycred-module-hooks.php on line 200
    Plugin Author myCred

    (@designbymerovingi)

    What version of myCRED are you using?

    I would start with disabling WP_DEBUG for a moment, de-activate bbPress and return to the Hooks page to see if there are any hooks showing up.

    Also, have you made any changes or customizations to your myCRED installation? What WP version are you using and what bbPress version? This would help me try and replicate your installation to see if I can find an issue.

    Thread Starter quokka

    (@quokka)

    Hi Gabriel..

    After disabling bbPress all hooks are shown..
    But I need bbPress ??

    I run WordPress version 3.5.2 and bbPress version: 2.3.2
    Also Buddypress verzion 1.7.2

    I did not customize myCRED ad all..

    Thanks again!
    Bas

    Plugin Author myCred

    (@designbymerovingi)

    Thank you.

    Has myCRED ever worked? When you disable bbPress and see all the hooks, if you click on them, are the fields empty?

    Thread Starter quokka

    (@quokka)

    Hi Gabriel,

    No, myCRED didn’t work before, I have just installed it for first time..
    Strange, I deactivated bbPress once again, but this time it doesn’t fix the problem.
    Still only “poinst for registration” is shown..

    Thanks,
    Bas

    Plugin Author myCred

    (@designbymerovingi)

    What if you just disable BuddyPress?
    Do you have any other plugins installed that interacts with bbPress or BuddyPress? I want to try and see if I can replicate this issue. So far all my test sites with those plugins only installed with myCRED works. Might be something else is interfering.

    Thread Starter quokka

    (@quokka)

    Hi Gabriel,

    Yes I got a bunch of plugins running..
    I’ll check tomorrow by disabling them one by one and let you know!

    Thanks,
    Bas

    Thread Starter quokka

    (@quokka)

    Thanks for helping me out BTW ??

    Plugin Author myCred

    (@designbymerovingi)

    Found it!

    In mycred/modules/mycred-module-hooks.php, change the line 65 from this:

    $new = new $class( ( isset( $this->hook_prefs ) ) ? $this->hook_prefs : $this );

    to this:

    $new = new $class( ( isset( $this->hook_prefs ) ) ? $this->hook_prefs : array() );

    Alternatively you could disable your myCRED add-ons (all of them) then go to the Hooks page, click “Update Settings” then enable the add-ons. But of course this is not nice. I will include the fix in next update.

    For others reading this, this bug only effects brand new myCRED installations where add-ons are enabled before hooks have been set.

    Thread Starter quokka

    (@quokka)

    Hi Gabriel,

    Thank you so much for all efforts and fixing this so fast..
    Now I can start playing with myCRED, very exciting ??

    Keep up the good work (please)..

    All the best..
    Bas

    Thread Starter quokka

    (@quokka)

    Resolved

    Plugin Author myCred

    (@designbymerovingi)

    No worries, let us know if you find any more bugs and enjoy.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Only one hook "points for registrations" ?’ is closed to new replies.