get_plugin_data was called with an argument that is deprecated since version 3.0
-
I am not able to open “Add New Post” page and getting following errors after upgrading wordpress.
Notice: get_plugin_data was called with an argument that is deprecated since version 3.0! The Site Wide Only: true plugin header is deprecated. Use Network: true instead. in H:\root\home\webblogs\www\webblogs\wp-includes\functions.php on line 3842
WordPress database error: [Duplicate entry ‘0’ for key ‘PRIMARY’]
INSERT INTOwp_posts
(post_author
,post_date
,post_date_gmt
,post_content
,post_content_filtered
,post_title
,post_excerpt
,post_status
,post_type
,comment_status
,ping_status
,post_password
,post_name
,to_ping
,pinged
,post_modified
,post_modified_gmt
,post_parent
,menu_order
,post_mime_type
,guid
) VALUES (2, ‘2016-07-05 07:07:13’, ‘0000-00-00 00:00:00’, ”, ”, ‘Auto Draft’, ”, ‘auto-draft’, ‘post’, ‘open’, ‘open’, ”, ”, ”, ”, ‘2016-07-05 07:07:13’, ‘0000-00-00 00:00:00’, 0, 0, ”, ”)Warning: Creating default object from empty value in H:\root\home\webblogs\www\webblogs\wp-admin\includes\post.php on line 639
Notice: Undefined property: stdClass::$ID in H:\root\home\webblogs\www\webblogs\wp-admin\post-new.php on line 84
Notice: Undefined property: stdClass::$post_date in H:\root\home\webblogs\www\webblogs\wp-admin\edit-form-advanced.php on line 133
Notice: Undefined property: stdClass::$post_status in H:\root\home\webblogs\www\webblogs\wp-admin\edit-form-advanced.php on line 185
Notice: Undefined property: stdClass::$post_status in H:\root\home\webblogs\www\webblogs\wp-admin\edit-form-advanced.php on line 219
Notice: Undefined property: stdClass::$post_type in H:\root\home\webblogs\www\webblogs\wp-includes\taxonomy.php on line 183
Notice: Undefined property: stdClass::$post_type in H:\root\home\webblogs\www\webblogs\wp-includes\taxonomy.php on line 185
Warning: Invalid argument supplied for foreach() in H:\root\home\webblogs\www\webblogs\wp-content\plugins\wordpress-seo\admin\metabox\class-metabox.php on line 830
Notice: Undefined property: stdClass::$post_type in H:\root\home\webblogs\www\webblogs\wp-includes\taxonomy.php on line 183
Notice: Undefined property: stdClass::$post_type in H:\root\home\webblogs\www\webblogs\wp-includes\taxonomy.php on line 185
I did tried few things but not able to get the solution yet.
Thanks in advance!
- The topic ‘get_plugin_data was called with an argument that is deprecated since version 3.0’ is closed to new replies.