• Resolved michaelxxx

    (@michaelxxx)


    Hi,

    when I activate the Debugger Mode in WordPress, I got thousand of errors in my Log from your plugin:

    [06-Aug-2019 14:36:38 UTC] PHP Notice: Undefined index: url in /home/public_html/wp-content/plugins/shortcoder/includes/metadata.php on line 179

    Do you know the reason for this error?

    • This topic was modified 5 years, 3 months ago by michaelxxx.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author vaakash

    (@vaakash)

    Sorry for the late reply. This will be fixed in the next release in couple of days.

    Thanks,
    Aakash

    Plugin Author vaakash

    (@vaakash)

    Hi,

    I’ve fixed it in v4.6. Please update to it and let me know

    Thanks,
    Aakash

    Hi @vaakash

    I am using the plugin, getting lots of error i have already tried PHP 7.0 , 7.2, 7.3, not resolved my issue can you help me to rectify the issue

    [09-Sep-2019 12:05:03 UTC] PHP Notice: Trying to get property of non-object in /home/reliancerecom/public_html/wp-content/plugins/shortcoder/includes/metadata.php on line 98
    [09-Sep-2019 12:06:06 UTC] PHP Notice: Trying to get property of non-object in /home/reliancerecom/public_html/wp-content/plugins/shortcoder/includes/metadata.php on line 98
    [09-Sep-2019 12:07:17 UTC] PHP Notice: Trying to get property of non-object in /home/reliancerecom/public_html/wp-content/plugins/shortcoder/includes/metadata.php on line 98
    [09-Sep-2019 12:11:34 UTC] PHP Notice: Trying to get property of non-object in /home/reliancerecom/public_html/wp-content/plugins/shortcoder/includes/metadata.php on line 98
    [09-Sep-2019 12:11:55 UTC] PHP Notice: Trying to get property of non-object in /home/reliancerecom/public_html/wp-content/plugins/shortcoder/includes/metadata.php on line 98
    [09-Sep-2019 12:12:22 UTC] PHP Notice: Trying to get property of non-object in /home/reliancerecom/public_html/wp-content/plugins/shortcoder/includes/metadata.php on line 98
    [09-Sep-2019 12:22:10 UTC] PHP Notice: Trying to get property of non-object in /home/reliancerecom/public_html/wp-content/plugins/shortcoder/includes/metadata.php on line 98

    • This reply was modified 5 years, 2 months ago by ansarul.
    Plugin Author vaakash

    (@vaakash)

    Hi @ansarul,

    Issue is because of some other plugin/theme not with Shortcoder.

    Here https://plugins.trac.www.ads-software.com/browser/shortcoder/trunk/includes/metadata.php#L98 $post_type_obj is a wordpress object. But shortcoder is getting something else.

    Please disable you plugins one by one and see if the issue is gone.

    This error is seen logged in archive page i.e page where all the posts of a post type are listed.

    Thanks,
    Aakash

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error Log – Undefined index’ is closed to new replies.