• Resolved FrankEck

    (@frankeck)


    Hi, as soon as I work with the shortcoder (delete, edit or recreate shortcodes) I find the following in the debug log:
    PHP Notice: Trying to get property of non-object in /home/www/wp-content/plugins/shortcoder/admin/sc-admin.php on line 610

    Any idea what’s going on?

    Cheers, Frank

    • This topic was modified 5 years, 11 months ago by FrankEck.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter FrankEck

    (@frankeck)

    Sorry, it looks like the following PHP bugs belong to it:

    PHP Notice: Undefined index: input in /home/www/wp-includes/kses.php on line 871
    PHP Notice: get_currentuserinfo is obsolete since version 4.5.0! Use wp_get_current_user() instead. in /home/www/wp-includes/functions.php on line 3861

    Thread Starter FrankEck

    (@frankeck)

    My problem is that I have a server crash almost every day. I can’t really narrow the problem down, but whenever a crash occurs, I’ve worked with the shortcoder shortly before. Today I activated the debug mode and received the above messages…

    Plugin Author vaakash

    (@vaakash)

    Hi @frankeck glad that you found the issue.

    The line number which is printed in your first post points this code if( self::$pagehook == $screen->id ){ where $screen is not seen as an object. This is not possible because it is from an WP API.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Error’ is closed to new replies.