• Resolved te-deum

    (@te-deum)


    Hello,

    I have 2 WordPress Multisite that worked fine since I activate SEO Ultimate 7.2.8. When activated, I have a php Fatal error on website in sub-folder but not in main website or in website with their own domain :

    Fatal error: Call to undefined function wp_get_current_user() in /homez.46/webuser/www/wp-includes/capabilities.php on line 1203

    In stack trace, I saw that it was a call of user_authorized in /seo-ultimate/modules/user-code/user-code.php. So I changed the code of this function to verify that wp_get_current_user() function exists before calling current_user_can. But now I have the fatal error :

    Fatal error: Using $this when not in object context in /homez.46/webuser/www/wp-content/plugins/seo-ultimate/modules/user-code/user-code.php on line 30

    Reverse changes doesnt correct this error. Re-installing seo-ultimate doesn’t change anything.

    Anyone can help me ?

    Thank you.

    http://wordpress.org/extend/plugins/seo-ultimate/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Looks like SEO ultimate is broken on WP 3.4.1

    Quick fix is to go into that particular file:
    eo-ultimate\modules\user-code\user-code.php

    and comment everything out / delete the file.

    Cheers
    Rob Clarkson
    Web Development NZ

    Thread Starter te-deum

    (@te-deum)

    Hello,

    I have commented all the file and now it works !

    Thank you @robbodevnz 🙂

    Plugin Contributor John

    (@johnlamansky)

    For the record, I’m running SEO Ultimate 7.2.8 on WordPress 3.4.1 with multisite enabled on sub-folder mode, and the whole site is working fine, so it’s definitely not universally “broken.” There must be something that causes an error under particular conditions. I’ll look into it.

    Plugin Contributor John

    (@johnlamansky)

    7.2.9 should fix this. Thanks for reporting the issue, and sorry for the inconvenience.

    Thread Starter te-deum

    (@te-deum)

    Hello,

    I have updated to 7.2.9 and I don’t have any problem !

    Thank you very much @john Lamansky

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: SEO Ultimate] Fatal error on Multisite’ is closed to new replies.