Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1940

General Questions/New to Joomla! 4.x • Site Crash when upgrading from php 8.0 to php 8.1

$
0
0
Hello,

i have a joomla 4.4.2. successfully updated but when i upgrade to php 8.1 the site crashes.
Error 500 mysqil 2 Exceptions 2 stack traces. I took it up with my hosting company, go daddy who said it was a coding issue.

i have no idea how to go about trouble shooting this. any help is greatly appreciated.


mysqli_sql_exception:
MySQL server has gone away

at /home/ht2oo9rv05td/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:137
at mysqli->prepare()
(/home/ht2oo9rv05td/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:137)
at Joomla\Database\Mysqli\MysqliStatement->__construct()
(/home/ht2oo9rv05td/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:1089)
at Joomla\Database\Mysqli\MysqliDriver->prepareStatement()
(/home/ht2oo9rv05td/public_html/libraries/vendor/joomla/database/src/DatabaseDriver.php:1900)
at Joomla\Database\DatabaseDriver->setQuery()
(/home/ht2oo9rv05td/public_html/libraries/src/Menu/SiteMenu.php:166)
at Joomla\CMS\Menu\SiteMenu->Joomla\CMS\Menu\{closure}()
(/home/ht2oo9rv05td/public_html/libraries/src/Cache/Controller/CallbackController.php:51)
at Joomla\CMS\Cache\Controller\CallbackController->get()
(/home/ht2oo9rv05td/public_html/libraries/src/Menu/SiteMenu.php:179)
at Joomla\CMS\Menu\SiteMenu->load()
(/home/ht2oo9rv05td/public_html/libraries/src/Menu/AbstractMenu.php:333)
at Joomla\CMS\Menu\AbstractMenu->getMenu()
(/home/ht2oo9rv05td/public_html/libraries/src/Menu/AbstractMenu.php:164)
at Joomla\CMS\Menu\AbstractMenu->getItem()
(/home/ht2oo9rv05td/public_html/libraries/src/Application/SiteApplication.php:422)
at Joomla\CMS\Application\SiteApplication->getTemplate()
(/home/ht2oo9rv05td/public_html/libraries/src/Error/Renderer/HtmlRenderer.php:50)
at Joomla\CMS\Error\Renderer\HtmlRenderer->render()
(/home/ht2oo9rv05td/public_html/libraries/src/Exception/ExceptionHandler.php:126)
at Joomla\CMS\Exception\ExceptionHandler::render()
(/home/ht2oo9rv05td/public_html/libraries/src/Exception/ExceptionHandler.php:72)
at Joomla\CMS\Exception\ExceptionHandler::handleException()
(/home/ht2oo9rv05td/public_html/libraries/src/Application/CMSApplication.php:322)
at Joomla\CMS\Application\CMSApplication->execute()
(/home/ht2oo9rv05td/public_html/includes/app.php:61)
at require_once('/home/ht2oo9rv05td/public_html/includes/app.php')
(/home/ht2oo9rv05td/public_html/index.php:32)
[1/2] mysqli_sql_exception

mysqli_sql_exception:
Lost connection to MySQL server during query

at /home/ht2oo9rv05td/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:137
at mysqli->prepare()
(/home/ht2oo9rv05td/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:137)
at Joomla\Database\Mysqli\MysqliStatement->__construct()
(/home/ht2oo9rv05td/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:1089)
at Joomla\Database\Mysqli\MysqliDriver->prepareStatement()
(/home/ht2oo9rv05td/public_html/libraries/vendor/joomla/database/src/DatabaseDriver.php:1900)
at Joomla\Database\DatabaseDriver->setQuery()
(/home/ht2oo9rv05td/public_html/libraries/src/Access/Access.php:952)
at Joomla\CMS\Access\Access::getAuthorisedViewLevels()
(/home/ht2oo9rv05td/public_html/libraries/src/User/User.php:445)
at Joomla\CMS\User\User->getAuthorisedViewLevels()
(/home/ht2oo9rv05td/public_html/libraries/src/Plugin/PluginHelper.php:258)
at Joomla\CMS\Plugin\PluginHelper::load()
(/home/ht2oo9rv05td/public_html/libraries/src/Plugin/PluginHelper.php:109)
at Joomla\CMS\Plugin\PluginHelper::getPlugin()
(/home/ht2oo9rv05td/public_html/libraries/src/Application/SiteApplication.php:570)
at Joomla\CMS\Application\SiteApplication->initialiseApp()
(/home/ht2oo9rv05td/public_html/libraries/src/Application/SiteApplication.php:226)
at Joomla\CMS\Application\SiteApplication->doExecute()
(/home/ht2oo9rv05td/public_html/libraries/src/Application/CMSApplication.php:293)
at Joomla\CMS\Application\CMSApplication->execute()
(/home/ht2oo9rv05td/public_html/includes/app.php:61)
at require_once('/home/ht2oo9rv05td/public_html/includes/app.php')
(/home/ht2oo9rv05td/public_html/index.php:32)

Warning: session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /opt/alt/php81/var/lib/php/session) in /home/ht2oo9rv05td/public_html/libraries/vendor/joomla/session/src/Storage/NativeStorage.php on line 114

cheers
stella.

Statistics: Posted by apsorg — Wed Jan 24, 2024 12:48 am



Viewing all articles
Browse latest Browse all 1940




<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>