Joomla 3.10 搬遷到 4.x 一般常見錯誤

From Joomla! Documentation

This page is a translated version of the page Joomla 3.10 to 4.x Common Migration Errors and the translation is 79% complete.
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎中文(台灣)‎

Joomla 3.10移轉到 Joomla 4時的常見錯誤大略可以分成兩類:

請重新回到你的擴充套件管理頁面。可能有一些東西你遺漏了,如果有需要,你可以請其他人幫你看看問題。有時候我們自己的眼睛騙了我們,偏要請別人看才可以看得出來,原來要更新 Joomla! 之前,可能必須先更新或移除一個擴充套件。

這份文件是動態增刪的,也就是說,你可以主動的增加錯誤及解決方案到這個頁面供其他使用者參考。如果你在 Joomla! 3.10 移轉到 4.x 的時候遇到了問題,你可以嘗試把錯誤貼到 Google 去搜尋看看。請記得,一些你的隱私資訊記得要刪除。


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

請刪除錯誤訊息中出現的 home/account/public_html/directory 這個部分來確保你在搜尋錯誤的解決方案時能得到較好的搜尋結果。

錯誤 & 解決方案

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.

==== isClient and isAdmin Error ====

This error shows that you have third-party extensions using isClient and/or isAdmin which is no longer in use. You must assess and uninstall or disable/unpublish all third-third party extensions that are not compatible with Joomla 4.x. You can disable these extensions whilst seeing this error by disabling them in the database to get control back.


  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.
  1. 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 (#_)

設定 column enabled 為 0 ,來停用插件


獲得資料庫以及/或是 Discover tabs 的其他方式

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

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