Bobcares

How to quickly fix Joomla error 1054 ?

by | Apr 4, 2019

Joomla is a great way to create websites. It comes as free and requires zero expertise in coding too.

But, often due to bad configuration, Joomla reports error in the website. One such error is Joomla error 1054.

Usually, Joomla shows error 1054 when updating from older versions. And, often it makes Joomla backend unavailable.

That’s why, we often get requests from customers to fix Joomla errors as part of our Technical Support Services.

Today, we’ll see the details of error 1054 and how Bobcares’ Engineers fix it.

When, What and Why of Joomla error 1054 ?

Before proceeding further, we’ll see further details of error.

Usually, the 1054 error happens when upgrading Joomla to latest version from older version.

Recently, one of our customers reported this problem when doing an upgrade from 3.7.5 to 3.8. Unfortunately, the immediate effect is that Joomla back-end becomes inaccessible.  And, it reports variation of the error as:

Error 1054 Unknown column 'a.client_id' in 'where clause.'

Surprisingly, the Joomla frontend will work fine. Therefore, it affects customers only while make changes in the Joomla backend. When accessing the Joomla administrator panel, you do not see the usual control panel. Instead, it will show up as completely blank screen.

But, what causes the error?

Here, by this error, Joomla complains about missing columns in Joomla database. Just as site building tools like WordPress, Joomla also stores site configuration in Databases. And, error 1054 means problem with sites Joomla database.

 

How we fix error 1054 in Joomla?

Ok. The reason for error is screwed up database. Therefore, to make Joomla backend panel working again, we need to fix the database.

Again, fixing database errors need utmost care. We’ll now see how our Dedicated Engineers fix it for the customers.

 

1. From Joomla Admin panel

When Joomla admin panel is accessible, the error 1054 can be fixed from the panel itself.

For this, we follow the steps as listed below.

We select Extensions  Manage  Database from the drop-down menu of the Joomla! Administrator Panel. It will show errors with the Database. To fix them, our Support Engineers Click on the Fix button.
After a few seconds, it will show the “Database table structure is up to date” message:

 

That fixes the 1054 Unknown Column ‘client_id’ in ‘field list’ error and admin panel becomes accessible again.

 

2. From PHPMyAdmin

Unfortunately, in certain cases, Joomla admin panel just shows a blank page. In such cases, PHPMyAdmin helps in fixing database inconsistencies easily.  Luckily, running an SQL query in the database can solve the Joomla error.

That’s why, our Dedicated Engineers connect to the websites’ control panel and then to PHPMyAdmin.

We run the following SQL query commands to alter the database table.

ALTER TABLE `xxx_menu_types` ADD COLUMN `client_id` int(11) NOT NULL DEFAULT 0;

UPDATE `xxx_menu` SET `published` = 1 WHERE `menutype` = 'main' OR `menutype` = 'menu';

Here, we substitute ‘xxx’ with the prefix of website’s database tables:

After running this query, the Joomla panel becomes accessible again.

 

Conclusion

In short, Joomla error 1054 happens due to inconsistencies with website’s database. Today, we saw the details of the error and how our Dedicated Engineers fix it and make Joomla backend working again.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

15 Comments

  1. Pavlos Pseftoyiannis

    My `menutype` is equal to ‘mainmenu’ , so i had to change the value in your SQL Query to the above value.

    Reply
  2. Christophe Evers

    The SQL command works perfectly ! Even if I am a total novice in this. Thanks

    Reply
    • Canada Create Agency

      Thank you saved us a lot of time, phpmyadmin did the trick right away fix Joomla error 1054

      Reply
      • Hiba Razak

        Hi,
        We are glad to know that our article helps you solves the issue. 🙂

        Reply
  3. Sean

    Wow, this was exactly what I needed. Well explained and to the point- Easy to do in MyPHPadmin .
    Thank you so much.

    Sean

    Reply
  4. Petria

    Great! Just what i needed!! Thank you!!
    Petrina

    Reply
  5. Peter

    super!!! thanks
    it´s running

    Reply
  6. ihmSelbst

    Thank you very much, it works perfect.

    Reply
    • Sijin George

      Glad to know 🙂

      Reply
  7. Jude

    Very, very helpful. It worked perfectly.
    Many thanks!

    Reply
    • Sijin George

      Glad to know that the article was useful 🙂

      Reply
  8. layonill

    I do not now what prefix to put

    Reply
    • Sijin George

      Hello,
      The prefix depends on the database that you use in Joomla. You can get it from phpMyAdmin or MySQL command-line. If you still have errors and need help, we’ll be happy to talk to you on chat (click on the icon at right-bottom).

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.