Noticed that if I don’t have a category selected and click the Advanced Editing button for a new post, a bunch of errors are displayed at the bottom of the page (though the page still functions). If a category is checked prior to clicking the Advanced Editing button, no error is generated.
The error is:
PHP Warning: in_array(): Wrong datatype for second argument in d:\home\my_directory\cachingcentral_wp\wp-admin\admin-functions.php on line 41
Looking at the code in admin-functions.php, it seems the issue has to do with selecting a category, though none is selected, OR it has to do with the “$default” category, which if it assuming it’s the one provided with WP, I’ve deleted that.
Any way to resolve this error?
Also, I noticed that if the category for a post is deleted (default post with default category), building the lists of posts, prior to deleting the default post with the base install, showed the same error.
- The topic ‘Small Bug – Advanced Editing on New Post’ is closed to new replies.