Skip to main content

Joomla Error Messages

Save failed with the following error: Null primary key not allowed

While saving an article, you encounter this error message "Save failed with the following error: Null primary key not allowed".

This error message indicates that the changes cannot be saved.

Problem with #__assets table

1 of the causes of this problem may be related to the assets table added in Joomla 1.6.

To fix this, you need to go through the following 3 steps.

  1. Go to Menus > all menu items. Click on the "Rebuild" button.
  2. Go to Content > Categories. Click the "Rebuild" button.
  3. Go to Content > Articles. Select all articles. Click the "Rebuild" button.

assets opnieuw opbouwen j4

Problem with a plugin

Another cause of this problem may lie in 1 of the plugins you have installed. Chances are that this is then a plugin in the "content" or "system" category.

Go to Extensions > Plugin Manager and filter the plugins by Content (or System).

content plugins


After this, disable and re-enable the plugins 1 by 1 to find out which plugin is causing the problem.

Once you have found the plugin, contact the developer to solve the problem.

Need help solving this problem?

Jeroen Moolenschot

About Jeroen

I have been working with the Joomla! CMS since 2006. Besides building and maintaining Joomla! websites and webshops, I am also familiar with search engine optimization (SEO), Joomla hosting and developing templates and extensions. Furthermore, I am a frequent visitor and speaker at JoomlaDays and various Joomla user groups.

I am committed to the Joomla! community as a member of the Extensions Directory team and the organization of Joomla user group Breda and JoomlaDagen Netherlands. In short: Are you looking for a Joomla Specialist, you should contact me!

Popular articles

Sorry, your PHP version is not supported

From Joomla 4 onwards, you can no longer use PHP versions lower than 7.2 . In Joomla 5, the minimum…

Cannot write to log file

When someone tries to log in with incorrect login credentials in the administrator area of Joomla…

You are a spammer, hacker or an otherwise bad person

The message "You are a spammer, hacker or an otherwise bad person" is not coming from Joomla itself…

JFolder::create: Could not create directory

"JFolder :: create: Could not create directory" is a common error message. You may encounter this e…

Could not connect to MySQL

When you see a white screen saying "Error displaying the error page: Application Instantiation Erro…

We have detected that your server uses PHP which is outdated

When you log into Joomla, you may see a yellow or red warning about the PHP version you are using…