• Ok I’m trying to use the function get_comments to get the latest comments. However it returns me a empty array. When I try to look at the comments in the wp-admin panel it shows me it has x comments. When I click on approved for example I don’t get to see any comments at all.

    Does anybody know how to fixs this issue? Because I don’t have clew where to start.

    It also gives me this error on the comments page in the wordpress admin panel.

    Notice: wpdb::prepare was called incorrectly. wpdb::prepare() requires at least two arguments. Please see Debugging in WordPress for more information. (This message was added in version 3.5.) in /home/2130416274/public_html/wp-includes/functions.php on line 2962

Viewing 1 replies (of 1 total)
  • Moderator t-p

    (@t-p)

    Have you tried:

    -deactivating ALL plugins temporarily to see if this resolves the problem. If this works, re-activate them individually (one-by-one) to find the problematic plugin(s). If you can’t get into your admin dashboard, try deactivating via FTP or SFTP or whatever file management application your host provides. If applicible, also remember to deactivate any plugins in the mu-plugins folder. The easiest way is to rename that folder to mu-plugins-old.
    – To rule out any theme-specific issue, try switching to the unedited default theme for a moment using the WP dashboard. If you don’t have access to your admin area, you can switch to the default theme by renaming your current theme’s folder in wp-content/themes and adding “-old” to the end of the folder name using via FTP or SFTP or whatever file management application your host provides.
    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems (because the hooks remain unless plugins completely removed or some plugins stick around in cached files. So by renaming the folder, you break them and force them inactive).

Viewing 1 replies (of 1 total)
  • The topic ‘Comments don't show up in wp-admin panel.’ is closed to new replies.