• Hello everybody, and thanks in advance for your help!

    So, this is my problem… Everything in my wordpress website is up and running, except when I get into a post and the content simply doesn’t load. Everything else does, except for the post content.

    This happened when I was trying to install a content locker from incent.ly and I came up into a problem: I didn’t know how to install different lockers into different posts, as the code had to be pasted before the </body> tag.

    So.. I downloaded and installed a plugin called: “custom field template”, apparently very known around the communty, and what I did was:
    – Insert the content locker code into a “template content” area and in the “Post-id” I put the id of the post I wanted to lock.

    And bam, every post stopped working. Now, I’ve uninstalled the plugin and the problem remains. And I just don’t know where to look for the problem.

    Please help me!!

    Thank you very much in advance,

    Miguel Nunes

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter mike_nunes

    (@mike_nunes)

    Also: I ran the debuging and, in the area where the content should be this appears:

    “Notice: Undefined index: before in /var/www/vhosts/gentlefantasies.com/httpdocs/wp-content/plugins/header-footer/plugin.php on line 219 Notice: Undefined index: after in /var/www/vhosts/gentlefantasies.com/httpdocs/wp-content/plugins/header-footer/plugin.php on line 220 Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘add_post_content’ not found or invalid function name in /var/www/vhosts/gentlefantasies.com/httpdocs/wp-includes/plugin.php on line 173”

    Thread Starter mike_nunes

    (@mike_nunes)

    Apparently, the plugin “header and footer” was also crashing, so I deactivated it and the error now is:

    “Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘add_post_content’ not found or invalid function name in /var/www/vhosts/gentlefantasies.com/httpdocs/wp-includes/plugin.php on line 173”

    Deactivate all plugins, delete the unused ones and see if the error goes away.

    Thread Starter mike_nunes

    (@mike_nunes)

    Did it, same error…

    OK, complete all these steps. If you find good results, need not do the rest of them.
    – deactivate all plugins and see if the problem persists. If it solves the problem, activate plugins one by one until you find the problematic one
    – revert to Twenty Twelve theme and see if the issue is theme-specific
    – delete any inactive plugins
    reinstall WordPress manually from a freshly downloaded copy except wp-content. Do not overwrite files/ folders but delete them before reinstalling.

    Use FTP or your hosting control panel if you cannot access dashboard.
    Backup your site including database so that you can restore in case anything goes wrong.

    Thread Starter mike_nunes

    (@mike_nunes)

    Krishna, first off all thank you for your support!

    I have reverted to twenty twelve and it is, actually, theme-specific… Problem is, I have worked a lot on the theme I’m using (Gallery) and I didn’t want to lose the changes I did to it.
    This problem might come from wrongly made personalizations, but no doubt that the installation of the “custom field template” plugin triggered it all.

    I also tried to take reinstall the entire wordpress except for the content, but this time it didn’t even recognize pages’s urls.

    What more could I do?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Post content not displaying!!’ is closed to new replies.