Joomla 3.10 to 4.x Common Migration Errors

From Joomla! Documentation

Revision as of 15:05, 9 August 2021 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎中文(台灣)‎

The most common errors from Joomla 3.10 to 4 can be summed up in two items:

Go through your extensions in the Manage tab again. Likely, there is something in there that you missed. Have someone else look for you if you must. Sometimes it just takes another set of eyes to find extensions that need to be uninstalled or updated before a successful migration happens.

This document is a work in progress. You may add errors and solutions to this page. In the meantime, if you have an error from 3.10 to 4.x, copy the error into a Google search bar eliminating the parts that are server/site specific.

For example, if you get an error that says:

Fatal error: Call to a member function get() on a non-object in home/account/public_html/directory/administrator/components/com_installer/controller.php on line 39

Cut out the home/account/public_html/directory portion of the error during your search so you get better search results.

Errors & Solutions

Add errors and solutions below. Note if you have never added a link to a document before, save your text before linking! Then once saved go back in and add the link.

Blank Screen

  1. Check page source. If it looks like the complete HTML code is there, you may have a Javascript error. If there is no code at all, it is a PHP error.
  2. Check logs/joomla_update.php to see if a proper update happened. Include this log with any post to the Joomla Forums so that people can help you. If the site is updated properly, you can use phpMyAdmin to disable third-party plugins that you may have overlooked before updating to Joomla! 4.x.
SELECT * FROM `#__extensions` where type = 'plugin' and extension_id > 700
Use your own prefix (#_)

Set column enabled to 0 to disable the plugin.

You need to restore from a backup if logs/joomla_update.php is incomplete.

Alternative ways to get to the Database and/or Discover tabs

Discover URL: index.php?option=com_installer&view=discover

Database URL: index.php?option=com_installer&view=database