• Resolved mercedesjs

    (@mercedesjs)


    Hello,

    I’m using WordPress 4.2.2 (multisite) with Multisite Language Switcher 1.0.4. When I go to the Setting page for the plugin, I have these notices:

    Notice: Undefined property: stdClass::$userblog_id in /Users/xxx/Sites/wordpress-test/wp-content/plugins/multisite-language-switcher/includes/MslsBlogCollection.php on line 80
    
    Notice: Undefined property: stdClass::$userblog_id in /Users/xxx/Sites/wordpress-test/wp-content/plugins/multisite-language-switcher/includes/MslsBlogCollection.php on line 83
    
    Notice: Undefined property: stdClass::$userblog_id in /Users/xxx/Sites/wordpress-test/wp-content/plugins/multisite-language-switcher/includes/MslsBlogCollection.php on line 89
    
    Notice: Undefined property: stdClass::$userblog_id in /Users/xxx/Sites/wordpress-test/wp-content/plugins/multisite-language-switcher/includes/MslsBlogCollection.php on line 94
    
    Notice: Undefined property: stdClass::$userblog_id in /Users/xxx/Sites/wordpress-test/wp-content/plugins/multisite-language-switcher/includes/MslsBlog.php on line 42

    It seems to be a problem with my user. I’m logged as the super admin on both sites.

    Has anyone else had this problem before?

    Thank you very much for your help

    https://ww.wp.xz.cn/plugins/multisite-language-switcher/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dennis Ploetner

    (@realloc)

    Do you use one of the hooks like “msls_blog_collection_construct”? The userblog_id comes from WordPress standard functionality…

    Thread Starter mercedesjs

    (@mercedesjs)

    Thank you! There was another plugin using this hook, and that was the cause of the problem.

    Thank you very much!

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

The topic ‘Undefined property: stdClass::$userblog_id’ is closed to new replies.