• Resolved netlady

    (@netlady)


    Over a year ago, someone else took my first attempt at creating a website and put it on WordPress. This person did everything, all I did (and knew how to do) was post to it. About two months ago, the site was running really slow and this person upgraded my site to the newer version of WordPress.

    Immediately I noticed error messages and this person’s explanation was that the template that I had was causing the problem. So I found another template, but the errors were still there. Luckily, we figured out that the problem was one of the plugins.

    However, here’s what is happening now:

    Whenever I attempt to save a new post, or edit and save a post, I get messages like the following whenever I click Save:

    WordPress database error: [Table ‘netmarke_wrdp1.wp_post2cat’ doesn’t exist]
    SELECT cat_ID,cat_name FROM wp_posts p, wp_post2cat pc, wp_categories c where p.ID = pc.post_id and pc.category_id = c.cat_ID and post_status = ‘publish’ GROUP BY cat_ID

    WordPress database error: [Table ‘netmarke_wrdp1.wp_post2cat’ doesn’t exist]
    SELECT cat_ID AS ID, MAX(post_modified) AS last_mod FROM wp_posts p LEFT JOIN wp_post2cat pc ON p.ID = pc.post_id LEFT JOIN wp_categories c ON pc.category_id = c.cat_ID WHERE post_status = ‘publish’ GROUP BY cat_ID

    WordPress database error: [Table ‘netmarke_wrdp1.wp_post2cat’ doesn’t exist]
    SELECT cat_ID,cat_name FROM wp_posts p, wp_post2cat pc, wp_categories c where p.ID = pc.post_id and pc.category_id = c.cat_ID and post_status = ‘publish’ GROUP BY cat_ID

    WordPress database error: [Table ‘netmarke_wrdp1.wp_post2cat’ doesn’t exist]
    SELECT cat_ID AS ID, MAX(post_modified) AS last_mod FROM wp_posts p LEFT JOIN wp_post2cat pc ON p.ID = pc.post_id LEFT JOIN wp_categories c ON pc.category_id = c.cat_ID WHERE post_status = ‘publish’ GROUP BY cat_ID

    Luckily the post and edits are there, but I am at a loss as to why this keeps happening and what to do to fix it.

    The person who was taking caring of my site has abandoned me, so now I’m on my own. Can anyone help me understand why this is happening and how to fix it?

Viewing 5 replies - 1 through 5 (of 5 total)
  • You have an outdated WordPress theme and/or outdated WordPress plugins.

    Thread Starter netlady

    (@netlady)

    Thanks, however, I thought the theme from https://www.doshdosh.com/prosense-adsense-ready-seo-theme/ was compatible with 2.0+. And when the person who had been taking care of my site upgraded it to 2.6, the plugins were updated too.

    And because of these errors, I have also tried unsuccessfully to automatically (or even manually) upgrade to the latest version of WordPress (2.6.2). I keep getting this message:

    “Server does not allow us to write to your wordpress directory
    In order to continue you need to do one of the two things

    1. Provide us with your FTP credentials

    Note: We do not store your FTP information with us due to security reasons. Your ftp credentials will only be used to make your site writable by this plugin. You only have to do this once.”

    Once I enter my FTP details, and click Automatically Update, I get this message:

    “Oops!!!!! We are unable to connect to the ftp site with the data your provided, could you cross check and give us the data again”

    Yes, I recently changed the password, but it’s stored in RoboForm and works everywhere else that I use that particular password.

    And using CoreFTP, I can upload files to my site using my FTP details, so I don’t understand why WordPress can’t connect.

    I had also tried previously to do a backup and get this message instead:

    WARNING: Your wp-content directory is NOT writable! We can not create the backup directory.
    /home/netmarke/public_html/wp-content/backup-c24cb/

    WARNING: Your backup directory is NOT writable! We can not create the backup directory.
    /home/netmarke/public_html/

    I have already changed the permissions of the wp-content directory to 777 but don’t even see a backup directory.

    Now what? Any ideas?

    This ‘trial by fire’ is really frustrating.

    “wp_post2cat” from your errors is a dead giveaway that you have outdated code. Switch to the default theme and see if the problem goes away. If it does, it is a problem with your theme. Disable all plugins and see if the problem goes away. If it does, then it is a problem with your plugins.

    Thread Starter netlady

    (@netlady)

    Appreciate your replies iridiax.

    Now maybe you (or someone else) can help me figure out what I’ve done wrong.

    Before switching themes or disabling plugins, I contacted my hosting company’s support to verify that my login details were correct so that I could just go ahead and update to the latest version of WP. That person let me know that my login details were correct, but that my site was initially installed using Fantastico, which means I had the wrong path.

    When I logged into Fantastico, I could see that I needed to update from 2.6 to 2.6.1 (although WP shows 2.6.2). So I went through Fantastico and updated WordPress, but before doing so, thought I was doing the right thing by disabling all plugins except for the Maintenance Mode plugin. I had activated that first so there’s a splash screen stating the site was undergoing maintenance.

    The problem is that since updating WordPress, I am unable to login to WordPress Admin! I get the login screen, login, but instead of getting to my Dashboard, I’m sent to the Maintenance Mode splash screen at: https://netmarketingfornewbies.com/wp-admin/upgrade.php?_wp_http_referer=%2Fwp-admin%2F

    I guess I was supposed to deactivate the Maintenance Mode plugin as well BEFORE I did the WordPress update because nothing I try will allow me to login to https://netmarketingfornewbies.com/wp-login.php

    So I have NO idea how to fix it so that I can log back into my WordPress Admin to reactivate the plugins I deactivated and try the next update of 2.6.2 from inside of WordPress.

    Can anyone help someone who is blindly trying to figure this stuff out?

    Thread Starter netlady

    (@netlady)

    My hosting company restored the previous version which allowed me to login to WP Admin.

    And since ALL plugins are now disabled, I have created a draft post, saved it, and there were errors.

    Therefore, I deduce that the problem is not the theme, but one of the plugins.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error Messages After Saving Any Post’ is closed to new replies.