Failed Joomla update

Need help upgrading your Joomla! website or converting to Joomla! 4.x?

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
chadm93
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Mar 20, 2024 4:39 pm

Failed Joomla update

Post by chadm93 » Wed Mar 20, 2024 4:51 pm

Attempted to install a Joomla update. Going from version 3.10.12 to Joomla 4.4.3. I completed the pre-install checks and resovled any errors showing. We are unable to access the site after the upgrade. I'm able to login to the Admin page, but I'm not able to go to any other section really. When I try to browse to System/Extensions, I receive an error saying: An error has occurred. Call to undefined method Joomla\Database\Mysqli\MysqliDriver::query(). This happens when clicking on just about every menu item in Admin. When browsing to the website, it gives the error that the page cannot be found and provides the same error above to report to the website admin. Looking at the joomla_update.php file, everything appears to have went ok until the very end. All of the sql commands completed without error. Here are the error messages I see in the log:

2024-03-18T20:45:13+00:00 WARNING jerror Refresh Manifest Cache failed: plg_editors-xtd_module Extension is not currently installed.
2024-03-18T20:45:13+00:00 ERROR update An error has occurred while running "JoomlaInstallerScript::updateManifestCaches". Code: 0. Message: Error on updating manifest cache: (type, element, folder, client) = (plugin, module, plg_editors-xtd_module, 0).
2024-03-18T20:45:13+00:00 WARNING jerror Refresh Manifest Cache failed: plg_system_stats Extension is not currently installed.
2024-03-18T20:45:13+00:00 ERROR update An error has occurred while running "JoomlaInstallerScript::updateManifestCaches". Code: 0. Message: Error on updating manifest cache: (type, element, folder, client) = (plugin, stats, plg_system_stats, 0).
2024-03-18T20:45:13+00:00 WARNING jerror Refresh Manifest Cache failed: plg_system_updatenotification Extension is not currently installed.
2024-03-18T20:45:13+00:00 ERROR update An error has occurred while running "JoomlaInstallerScript::updateManifestCaches". Code: 0. Message: Error on updating manifest cache: (type, element, folder, client) = (plugin, updatenotification, plg_system_updatenotification, 0).
2024-03-18T20:45:14+00:00 INFO update Cleaning up after installation.
2024-03-18T20:45:14+00:00 INFO update Update to version 4.4.3 is complete.


I'm NOT a website admin nor am I a website admin wannabe. Any assistance is greatly appreciated!

gws
Joomla! Champion
Joomla! Champion
Posts: 5952
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Failed Joomla update

Post by gws » Wed Mar 20, 2024 4:59 pm

1 Try deleting autoload_psr4.php from admin/cache and then access your site and see if it makes any difference.

2 The update didn't complete successfully , can you restore a backup? If yes then empty the DB and delete all joomla files from your site first.

chadm93
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Mar 20, 2024 4:39 pm

Re: Failed Joomla update

Post by chadm93 » Wed Mar 20, 2024 5:20 pm

Removed that file from the admin/cache directory. No luck. Same error when browsing the website and the backend. I don't have a backup to restore. Would it be possible to backup the content and then perform a clean install and finally recover the content?

gws
Joomla! Champion
Joomla! Champion
Posts: 5952
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Failed Joomla update

Post by gws » Wed Mar 20, 2024 6:05 pm

Does your host have backups?

chadm93
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Mar 20, 2024 4:39 pm

Re: Failed Joomla update

Post by chadm93 » Wed Mar 20, 2024 6:19 pm

I just checked the site control panel. It doesn't appear there are any auto generated backups.

gws
Joomla! Champion
Joomla! Champion
Posts: 5952
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Failed Joomla update

Post by gws » Wed Mar 20, 2024 6:39 pm

Top of the forum there is a red box with links to the FPA (Forum Post Assistant),read the docs and then post the output here.

chadm93
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Mar 20, 2024 4:39 pm

Re: Failed Joomla update

Post by chadm93 » Wed Mar 20, 2024 6:45 pm

Forum Post Assistant (v1.6.6) : 20-Mar-2024 wrote:
Last PHP Error(s) Reported :: wrote:[20-Mar-2024 09:51:51 America/Boise] PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home1/hcwdorg/public_html/libraries/vendor/joomla/application/src/Web/WebClient.php on line 310
Basic Environment :: wrote:Joomla! Instance :: Joomla! 4.4.3-Stable (Pamoja) 20-February-2024
Joomla! Configured :: Yes | Read-Only (444) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: false | .htaccess/web.config: Yes | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: maximum | Site Debug: false | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 4.4.3: Yes | Database Supports J! 4.4.3: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 4.19.286-203.ELK.el7.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br, zstd | System TMP Writable: Yes | Free Disk Space : 246.64 GiB |

PHP Configuration :: Version: 8.2.16 | PHP API: litespeed | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: 22519 | Log Errors To: error_log | Last Known Error: 20th March 2024 09:51:51. | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 512M | Max. POST Size: 516M | Max. Input Time: 60 | Max. Execution Time: 60 | Memory Limit: 512M

Database Configuration :: Version: 5.7.23-23 (Client:mysqlnd 8.2.16) | Database Size: 4.63 MiB | #of Tables with config prefix:  75 | #of other Tables:  0 | User Privileges : GRANT ALL
Detailed Environment :: wrote:PHP Extensions :: Core (8.2.16) | date (8.2.16) | libxml (8.2.16) | openssl (8.2.16) | pcre (8.2.16) | zlib (8.2.16) | filter (8.2.16) | hash (8.2.16) | json (8.2.16) | pcntl (8.2.16) | random (8.2.16) | readline (8.2.16) | Reflection (8.2.16) | SPL (8.2.16) | session (8.2.16) | standard (8.2.16) | litespeed () | bcmath (8.2.16) | bz2 (8.2.16) | calendar (8.2.16) | ctype (8.2.16) | curl (8.2.16) | dom (20031129) | mbstring (8.2.16) | fileinfo (8.2.16) | ftp (8.2.16) | gd (8.2.16) | gettext (8.2.16) | gmp (8.2.16) | iconv (8.2.16) | imap (8.2.16) | intl (8.2.16) | exif (8.2.16) | mysqlnd (mysqlnd 8.2.16) | odbc (8.2.16) | PDO (8.2.16) | pgsql (8.2.16) | Phar (8.2.16) | posix (8.2.16) | pspell (8.2.16) | SimpleXML (8.2.16) | soap (8.2.16) | sockets (8.2.16) | sodium (8.2.16) | sqlite3 (8.2.16) | tidy (8.2.16) | tokenizer (8.2.16) | xml (8.2.16) | xmlwriter (8.2.16) | xsl (8.2.16) | zip (1.21.1) | mysqli (8.2.16) | pdo_mysql (8.2.16) | PDO_ODBC (8.2.16) | pdo_pgsql (8.2.16) | pdo_sqlite (8.2.16) | xmlreader (8.2.16) | apcu (5.1.22) | imagick (3.5.0) | Zend OPcache (8.2.16) | Zend Engine (4.2.16) |
Potential Missing Extensions ::

Switch User Environment :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (755) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (---) | api/ (755) |

Elevated Permissions (First 10) :: images/swmenufree/ (757) | images/swmenufree/arrows/ (757) | images/swmenufree/textures/ (757) | images/swmenufree/transmenu/ (757) |
Database Information :: wrote:Database statistics :: Uptime: 8329687 | Threads: 5 | Questions: 5039641551 | Slow queries: 0 | Opens: 181135535 | Flush tables: 1 | Open tables: 20000 | Queries per second avg: 605.021 |
Extensions Discovered :: wrote:Components :: Site ::
Core ::
3rd Party::

Components :: Admin ::
Core :: com_banners (4.0.0) 1 | com_workflow (4.0.0) 1 | com_login (4.0.0) 1 | com_mails (4.0.0) 1 | com_ajax (4.0.0) 1 | com_postinstall (4.0.0) 1 | com_associations (4.0.0) 1 | com_categories (4.0.0) 1 | com_newsfeeds (4.0.0) 1 | com_installer (4.0.0) 1 | com_templates (4.0.0) 1 | com_wrapper (4.0.0) 1 | com_tags (4.0.0) 1 | com_finder (4.0.0) 1 | com_media (3.0.0) 1 | com_contenthistory (4.0.0) 1 | com_plugins (4.0.0) 1 | com_languages (4.0.0) 1 | com_search (3.0.0) 1 | com_cache (4.0.0) 1 | com_menus (4.0.0) 1 | com_modules (4.0.0) 1 | com_users (4.0.0) 1 | com_scheduler (4.1.0) 1 | com_config (4.0.0) 1 | com_privacy (3.9.0) 1 | com_admin (4.0.0) 1 | com_content (4.0.0) 1 | com_redirect (4.0.0) 1 | com_cpanel (4.0.0) 1 | com_checkin (4.0.0) 1 | com_fields (4.0.0) 1 | com_messages (4.0.0) 1 | com_actionlogs (3.9.0) 1 | com_joomlaupdate (4.0.3) 1 | com_guidedtours (4.3.0) 1 |
3rd Party::

Modules :: Site ::
Core :: mod_articles_news (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_related_items (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_login (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_search (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_articles_latest (3.0.0) 1 |
3rd Party:: POWr Facebook Feed (3.0) 1 |

Modules :: Admin ::
Core :: mod_multilangstatus (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_login (3.0.0) 1 | mod_title (3.0.0) 1 | mod_loginsupport (4.0.0) 1 | mod_post_installation_messages (4.0.0) 1 | mod_custom (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_guidedtours (4.3.0) 1 | mod_popular (3.0.0) 1 | mod_frontend (4.0.0) 1 | mod_menu (3.0.0) 1 | mod_messages (4.0.0) 1 | mod_feed (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_stats_admin (3.0.0) 1 | mod_user (4.0.0) 1 | mod_privacy_status (4.0.0) 1 | mod_version (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_latestactions (3.9.0) 1 |
3rd Party::

Libraries ::
Core ::
3rd Party::

Plugins ::
Core :: plg_user_profile (3.0.0) 0 | plg_user_terms (3.9.0) 0 | plg_user_contactcreator (3.0.0) 0 | plg_user_token (3.9.0) 1 | plg_user_joomla (3.0.0) 1 | plg_api-authentication_token (4.0.0) 1 | plg_api-authentication_basic (4.0.0) 0 | plg_system_sessiongc (3.8.6) 1 | plg_system_fields (3.7.0) 1 | plg_system_log (3.0.0) 1 | plg_system_actionlogs (3.9.0) 0 | plg_system_webauthn (4.0.0) 1 | plg_system_remember (3.0.0) 1 | plg_system_updatenotification (3.5.0) 1 | plg_system_accessibility (4.0.0) 0 | plg_system_languagecode (3.0.0) 0 | plg_system_shortcut (4.2.0) 1 | plg_system_jooa11y (4.2.0) 1 | plg_system_skipto (4.0.0) 1 | plg_system_logrotation (3.9.0) 1 | plg_system_stats (3.5.0) 1 | plg_system_task_notification (4.1) 1 | plg_system_highlight (3.0.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_schedulerunner (4.1) 1 | plg_system_httpheaders (4.0.0) 0 | plg_system_cache (3.0.0) 0 | plg_system_guidedtours (4.3.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_debug (3.0.0) 1 | plg_system_redirect (3.0.0) 0 | plg_system_languagefilter (3.0.0) 0 | plg_finder_categories (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_subform (4.0.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_installer_webinstaller (4.0.0) 1 | plg_installer_urlinstaller (3.6.0) 1 | plg_installer_override (4.0.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | plg_installer_folderinstaller (3.6.0) 1 | plg_filesystem_local (4.0.0) 1 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_authentication_joomla (3.0.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_behaviour_compat (4.4.0) 1 | plg_behaviour_taggable (4.0.0) 1 | plg_behaviour_versionable (4.0.0) 1 | plg_task_site_status (4.1) 1 | plg_task_check_files (4.1) 1 | plg_task_requests (4.1) 1 | plg_task_demo_tasks (4.1) 1 | plg_multifactorauth_totp (3.2.0) 0 | plg_multifactorauth_email (4.2.0) 0 | plg_multifactorauth_webauthn (4.2.0) 0 | plg_multifactorauth_fixed (4.2.0) 0 | plg_multifactorauth_yubikey (3.2.0) 0 | plg_content_finder (3.0.0) 0 | plg_content_fields (3.7.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_vote (3.0.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_overridecheck (4.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_eos (4.4.0) 1 | plg_quickicon_downloadkey (4.0.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_webservices_media (4.1.0) 1 | plg_webservices_plugins (4.0.0) 1 | plg_webservices_installer (4.0.0) 1 | plg_webservices_config (4.0.0) 1 | plg_webservices_users (4.0.0) 1 | plg_webservices_privacy (4.0.0) 1 | plg_webservices_messages (4.0.0) 1 | plg_webservices_content (4.0.0) 1 | plg_webservices_tags (4.0.0) 1 | plg_webservices_menus (4.0.0) 1 | plg_webservices_templates (4.0.0) 1 | plg_webservices_modules (4.0.0) 1 | plg_webservices_banners (4.0.0) 1 | plg_webservices_newsfeeds (4.0.0) 1 | plg_webservices_languages (4.0.0) 1 | plg_webservices_redirect (4.0.0) 1 | plg_media-action_crop (4.0.0) 1 | plg_media-action_resize (4.0.0) 1 | plg_media-action_rotate (4.0.0) 1 | plg_actionlog_joomla (3.9.0) 1 | plg_extension_finder (4.0.0) 1 | plg_extension_namespacemap (4.0.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_search_categories (3.0.0) 1 | plg_search_content (3.0.0) 1 | plg_search_tags (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_workflow_notification (4.0.0) 1 | plg_workflow_featuring (4.0.0) 1 | plg_workflow_publishing (4.0.0) 1 | plg_sampledata_multilang (4.0.0) 1 | plg_captcha_recaptcha (3.4.0) 0 | plg_captcha_recaptcha_invisible (3.8) 0 |
3rd Party:: plg_editors_tinymce (5.10.9) 1 | plg_editors_codemirror (5.65.15) 1 | POWr Shortcodes (3.0) 1 | POWr Icon (1.0) 1 |
Templates Discovered :: wrote:Templates :: Site :: cassiopeia (1.0) 1 |
Templates :: Admin :: atum (1.0) 1 |

gws
Joomla! Champion
Joomla! Champion
Posts: 5952
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Failed Joomla update

Post by gws » Wed Mar 20, 2024 7:11 pm

Lower your php to 8.1.x J4 has issues with php 8.2.x

chadm93
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Mar 20, 2024 4:39 pm

Re: Failed Joomla update

Post by chadm93 » Wed Mar 20, 2024 7:32 pm

Lowered php to 8.1. The issue still persists though.

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9747
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Failed Joomla update

Post by AMurray » Wed Mar 20, 2024 9:55 pm

So you did the update without any backup, despite, being advised (at least three times during the migration process) to make a backup?

Whether that was done through Akeeba Backup (not installed in this case) or through your web host, you should have the means in cPanel (your web hosting panel) to make a manual backup in the "backups" section. The alternative would have been to export the database through phpMYAdmin. The database is the most important aspect of your site.
Regards - A Murray
General Support Moderator


Post Reply

Return to “Migrating and Upgrading to Joomla! 4.x”