Trying to get property of non-object error
-
I switched on the debug.log on development of my web-site and see the error message every few minutes:
Trying to get property of non-object in /virtual/my-web-site/public_html/wp-content/plugins/sunshine-photo-cart/admin/sunshine-admin.php on line 412
Stack Trace
1. {main}() /virtual/my-web-site/public_html/wp-admin/admin-ajax.php:0
2. do_action() /virtual/my-web-site/public_html/wp-admin/admin-ajax.php:173
3. WP_Hook->do_action() /virtual/my-web-site/public_html/wp-includes/plugin.php:465
4. WP_Hook->apply_filters() /virtual/my-web-site/public_html/wp-includes/class-wp-hook.php:310
5. wp_ajax_query_attachments() /virtual/my-web-site/public_html/wp-includes/class-wp-hook.php:286
6. apply_filters() /virtual/my-web-site/public_html/wp-admin/includes/ajax-actions.php:2771
7. WP_Hook->apply_filters() /virtual/my-web-site/public_html/wp-includes/plugin.php:208
8. sunshine_wp_ajax_query_attachments() /virtual/my-web-site/public_html/wp-includes/class-wp-hook.php:286Please fix this issue.
- The topic ‘Trying to get property of non-object error’ is closed to new replies.