Sorry for the late reply. This will be fixed in the next release in couple of days.
Thanks,
Aakash
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 6 years, 3 months ago by
ansarul.
Hi @ansarul,
Issue is because of some other plugin/theme not with Shortcoder.
Here https://plugins.trac.wordpress.org/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