• Resolved squeaky

    (@squeaky)


    I have five custom post types, In the admin panel on the “all” screen in the editor, they all are showing an error message at the top of the screen. And the list is broken.

    Notice: Array to string conversion in /home/kimi/edu.review-mysite.com/wp-admin/edit.php on line 261

    Do you have any clue what might be cuagin this?
    all plugins and wordpress are up to date.

    • This topic was modified 8 years, 2 months ago by squeaky.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter squeaky

    (@squeaky)

    I am not sure if this matters, I created a new custom post type a few days ago, the others were created months agoe. The old ones have that error message.

    the new one does not.
    the more you know 😉

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hmm.

    The line in question:

    add_screen_option( 'per_page', array( 'default' => 20, 'option' => 'edit_' . $post_type . '_per_page' ) );
    

    Just in case it helps, click to edit each of the post types causing errors to appear, and just click save again, without actually editing anything. Possible that things will clear themselves up.

    Thread Starter squeaky

    (@squeaky)

    Hello thank you for the help.
    I am not ableto get to any of the custom post types
    There are only two that I can get to and they are the only two I can get to.
    I tried to save them both and that did not resolve the issue.
    Next I moved them to the trach, and I am still not able to get to the post types.

    I can get to Posts.
    I can get to the newly added post type. Position Papers. But there are 4 others that I cannot get to and they have content that I can see on the front end.

    so bizzare,

    Any ideas?
    thank you for your time.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Really hard to say. The “Array to string” message itself, from your first post, shouldn’t be preventing being able to do things with your site, but it could be indicative of issues elsewhere with the saved values.

    Are your able to get to areas in the “tools” menu and more specifically the “Debug info” tab in that area?

    Curious what you have saved and that area would provide enough information for me to look things over.

    Thread Starter squeaky

    (@squeaky)

    Hello,
    I can send you the debug info.
    How can I do that?
    I can give you access as well.
    I am just not sure how to get that info to you…
    please let me know
    thank you – Kim

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    feel free to email the results to michael @ webdevstudios . com and I’ll be able to take it from there

    Thread Starter squeaky

    (@squeaky)

    It’s something in the theme.
    I will let you know what I find

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Sounds good.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘notice: Array to string conversion in wp-admin/edit.php on line 261’ is closed to new replies.