Forums

Fatal error: Call to undefined method stdClass::set_prefix() in /home/keyetpt1/p (5 posts)

  1. pdsilva73
    Member
    Posted 10 months ago #

    Hi all,

    I have WP version 3.04 running on my domain (www.keyelement.pt) and everything was working fine till today.

    Since I needed to add multi language features, I've searched the best rated plugins for this and opted to install 'QTranslate'.

    After the instalation, I activated the plugin and then EVERYTHING stopped working and I get the following Error Message:

    Fatal error: Call to undefined method stdClass::set_prefix() in /home/keyetpt1/public_html/wp-includes/load.php on line 337

    I cant even access WP's Backoffice (http://www.keyelement.pt/wp-login.php). The error message is the same! :(

    Please, any help is very welcome.

    Thanks in advance.

    Best,
    Paulo

  2. Hi pdsilva73,

    If you visit the plugin page for qTranslate, you'll notice 22/24 people say the plugin is broken. Now granted, you're on an older version but it sounds like maybe the latest version of the plugin is experiencing a problem. The plugin was updated on 6-24-2012, there's probably a fix coming.

    To regain access to your site's Dashboard, you'll need to "reset" your plugins directory by logging into FTP and either A) Changing the name of the plugins directory in wp-content, or deleting the folder container the qTranslate plugin.

  3. pdsilva73
    Member
    Posted 10 months ago #

    Hi Drew,

    First of all, thanks alot for your quick help.

    I've tried option A) (made a backup of the folder first), but although it works (since it shows me the WP login page), then I get further errors related to the other plugins I had instaled (eg. WC Total Cache 3.0).

    I've tried also B), delete only the 'QTranslate' folder from the 'Plugins' parent folder but it doesnt work ...

    Any idea?

    Thanks again.
    Paulo

  4. pdsilva73
    Member
    Posted 10 months ago #

    [update]

    I've managed to login since I've renamed the following files on '../wp-content':
    - advanced-cache.php
    - db.php
    - object-cache.php
    - w3-total-cache-config

    But how do I restore my older plugins (those which were activated and working)?

    I can live without 'W3 Total Cache'.

    Thanks again.
    Paulo

  5. pdsilva73
    Member
    Posted 10 months ago #

    [update]

    On '../wp-content', I've renamed the 'plugins' folder to 'plugins_bak' and created a new 'plugins' folder.

    Then, I moved (one-by-one) each of my previous plugins' folder to my new 'plugin' and they started to show up on the Plugins page on WP Dashboard.

    I think the problem is solved, but I still have the following doubt:

    On '../wp-content' root, which files should I have?

    Now, I have 'index.php' and 4 other files (relative to 'W3 Total Cache' plugin) which I've renamed (*_bak)

    Thanks again
    Paulo

Reply

You must log in to post.

About this Topic