-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue with post_checkboxes type #32
Comments
Where are you getting this error, on the back end or front end? |
Right under the checkboxes of posts in admin (backend). |
disappeared after i upgraded to git version |
I was having the same issue, and was able to resolve it by removing this line from the meta_box.php case for 'post_checkboxes': $post_type_object = get_post_type_object( $post_type );
echo '</ul> ' . $desc , ' <span class="description"><a href="' . admin_url( 'edit.php?post_type=' . $post_type . '">Manage ' . $post_type_object->label ) . '</a></span>'; And replacing it with this, effectively removing the "Manage" link and my error went away. echo '</ul> '; So it may have to do with the get_post_type_object()function |
Warning: Illegal offset type in /home/u478232299/public_html/wp-includes/post.php on line 1097
file wp-icludes/posts.php lines 1081 through 1101:
The text was updated successfully, but these errors were encountered: