WordPress.org

Forums

Post not showing on management screen after creation (6 posts)

  1. goliat
    Member
    Posted 3 years ago #

    After publishing a new post, it does not appear on the management page.
    The entry is registered in the database, thou.

    Also, in the sidebar, where the posts under categories are shown the category shows the correct number of posts-say 3. When you click on the category it will show only two and the last published one is missing- the same that does not appear on the management page.

    Any clues why?!

    Im using Magic Fields Version 1.3.1 to generate custom write panels, WPML 1.7.1 and Akismet 2.2.7. No other plugins.

  2. goliat
    Member
    Posted 3 years ago #

    I have the same setup in my local server and everything seems to work fine.

  3. henkholland
    Member
    Posted 3 years ago #

    When it never worked on the external server, try it after switching your plugins off and as a second step, switch to the default theme.

  4. goliat
    Member
    Posted 3 years ago #

    Thanks henkholland.
    Yes, the issue seemed to be with Magic Fields. The javascript created by the plugin some how interfered somehow. I noticed that some ajax features where not working in the admin ui in custom panels, such as sliding the OptionsPanel or the Publish box, etc. Yet there were no issues in the regular post edit page.

    I did look through the plugins code and found the culprit.

    File RCCWP_Processor, line 368:

    add_action('admin_print_scripts', array( 'RCCWP_WritePostPage', 'CustomFieldsJavascript' ));

    If you change admin_print_scripts to admin_head it starts working for me.

    add_action('admin_head', array( 'RCCWP_WritePostPage', 'CustomFieldsJavascript' ));

    What i dont understand is why the post was stored but did not show...any ideas?!

  5. goliat
    Member
    Posted 3 years ago #

    I fixed it so now its working.
    But, the posts created while it was not working do not show up.
    I'm looking at the database and the post entry seems normal, and the metadata seems ok as well.

  6. henkholland
    Member
    Posted 3 years ago #

    That's way over my head. Maybe a Repair/Optimize of the database (after making a backup).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.