ERROR – Trying to get property of non-object
-
WP 4.9.1, Genesis 2.5.3 Shareaholic 8.6.1
I.m getting an error when trying to add a new post – details below
Deactivate the plugin and the error ceases.
Whoops\Exception\ErrorException thrown with message “Trying to get property of non-object”
350 if (!get_post_meta($post->ID, “shareaholic_disable_{$app}”, true)) {
Stacktrace:
#11 Whoops\Exception\ErrorException in /public_html/wp-content/plugins/shareaholic/public.php:350
#10 Whoops\Run:handleError in /public_html/wp-content/plugins/shareaholic/public.php:350
#9 ShareaholicPublic:draw_canvases in /public_html/wp-includes/class-wp-hook.php:286
#8 WP_Hook:apply_filters in /public_html/wp-includes/plugin.php:203
#7 apply_filters in /public_html/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php:107
#6 WPSEO_Link_Watcher:process in /public_html/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php:56
#5 WPSEO_Link_Watcher:save_post in /public_html/wp-includes/class-wp-hook.php:288
#4 WP_Hook:apply_filters in /public_html/wp-includes/class-wp-hook.php:310
#3 WP_Hook:do_action in /public_html/wp-includes/plugin.php:453
#2 do_action in /public_html/wp-includes/post.php:3581
#1 wp_insert_post in /public_html/wp-admin/includes/post.php:608
#0 get_default_post_to_edit in /public_html/wp-admin/post-new.php:70Please advise; I have the plugin deactivated on my sites until resolved.
Kind regards,
Paul
- The topic ‘ERROR – Trying to get property of non-object’ is closed to new replies.