Crash while migrating to 5.2.6
Hello
I just completed all the updates before migrating a Joomla 4.4 site to 5.2.6. I updated your component. I'm getting the following error. Please help.
Regards
ERROR 0 - Class "JFactory" not found in /home/XXXX/public_html/plugins/content/msourcecontent/helpers/options.php:47Call Stack
| # | Function | Location |
|---|---|---|
| 1 | () | JROOT/plugins/content/msourcecontent/helpers/options.php:47 |
| 2 | MSourceContentOptions->getDisplayOptions() | JROOT/components/com_minitekwall/src/Model/MasonryModel.php:129 |
| 3 | Joomla\Component\MinitekWall\Site\Model\MasonryModel->getDisplayOptions() | JROOT/components/com_minitekwall/src/View/Masonry/HtmlView.php:399 |
| 4 | Joomla\Component\MinitekWall\Site\View\Masonry\HtmlView->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:697 |
| 5 | Joomla\CMS\MVC\Controller\BaseController->display() | JROOT/components/com_minitekwall/src/Controller/DisplayController.php:82 |
| 6 | Joomla\Component\MinitekWall\Site\Controller\DisplayController->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:730 |
| 7 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143 |
| 8 | Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() | JROOT/components/com_minitekwall/src/Dispatcher/Dispatcher.php:45 |
| 9 | Joomla\Component\MinitekWall\Site\Dispatcher\Dispatcher->dispatch() | JROOT/libraries/src/Component/ComponentHelper.php:361 |
| 10 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT/libraries/src/Application/SiteApplication.php:217 |
| 11 | Joomla\CMS\Application\SiteApplication->dispatch() | JROOT/libraries/src/Application/SiteApplication.php:271 |
| 12 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:304 |
| 13 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/includes/app.php:58 |
| 14 | require_once() | JROOT/index.php:32 |
4 answers
Re
Ah, it seems to be working a few minutes after this message. Strange!?
Or maybe the 5.3 update got there because I started the update for 5.2.6. It seems to be working.
HI
Okay, done, but I still have an error. Is this related to your extension? Because there are almost no others?
in /home/XXX/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php (line 138)
in /home/XXX/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php -> prepare (line 138)
in /home/XXX/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php -> __construct (line 972)
in /home/XXX/public_html/libraries/vendor/joomla/database/src/DatabaseDriver.php -> prepareStatement (line 1780)
DatabaseDriver->setQuery()
in /home/XXX/public_html/administrator/components/com_menus/src/Helper/MenusHelper.php (line 816)
if ($iJoin) { $query->join('INNER', $iJoin); } $results = $db->setQuery($query)->loadObjectList(); // Skip the entire group if no items to iterate over. if ($results) { // Show the repeatable group heading node only if not set as hidden. if (!$hidden) {
MenusHelper::loadXml()
in /home/XXX/public_html/administrator/components/com_menus/src/Helper/MenusHelper.php (line 841)
MenusHelper::loadXml()
in /home/XXX/public_html/administrator/components/com_menus/src/Helper/MenusHelper.php (line 673)
MenusHelper::loadPreset()
in /home/XXX/public_html/administrator/modules/mod_menu/src/Menu/CssMenu.php (line 121)
CssMenu->load()
in /home/XXX/public_html/administrator/modules/mod_menu/mod_menu.php (line 19)
include('/home/XXX/public_html/administrator/modules/mod_menu/mod_menu.php')
in /home/XXX/public_html/libraries/src/Dispatcher/ModuleDispatcher.php (line 52)
ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}()a
in /home/XXX/public_html/libraries/src/Dispatcher/ModuleDispatcher.php (line 55)
ModuleDispatcher->dispatch()
in /home/XXX/public_html/libraries/src/Helper/ModuleHelper.php (line 289)
ModuleHelper::renderRawModule()
in /home/XXX/public_html/libraries/src/Helper/ModuleHelper.php (line 160)
ModuleHelper::renderModule()
in /home/XXX/public_html/libraries/src/Document/Renderer/Html/ModuleRenderer.php (line 99)
ModuleRenderer->render()
in /home/XXX/public_html/libraries/src/Document/Renderer/Html/ModulesRenderer.php (line 51)
ModulesRenderer->render()
in /home/XXX/public_html/libraries/src/Document/HtmlDocument.php (line 575)
HtmlDocument->getBuffer()
in /home/XXX/public_html/libraries/src/Document/HtmlDocument.php (line 894)
HtmlDocument->_renderTemplate()
in /home/XXX/public_html/libraries/src/Document/HtmlDocument.php (line 647)
HtmlDocument->render()
in /home/XXX/public_html/libraries/src/Document/ErrorDocument.php (line 139)
ErrorDocument->render()
in /home/XXX/public_html/libraries/src/Error/Renderer/HtmlRenderer.php (line 70)
HtmlRenderer->render()
in /home/XXX/public_html/libraries/src/Exception/ExceptionHandler.php (line 136)
ExceptionHandler::render()
in /home/XXX/public_html/libraries/src/Exception/ExceptionHandler.php (line 73)
ExceptionHandler::handleException()
in /home/XXX/public_html/libraries/src/Application/CMSApplication.php (line 334)
CMSApplication->execute()
in /home/XXX/public_html/administrator/includes/app.php (line 58)
require_once('/home/XXX/public_html/administrator/includes/app.php')
in /home/XXX/public_html/administrator/index.php (line 32)
Hi there,
You must make sure that you have also updated all the source plugins to the latest versions (scroll down to Minitek Source Plugins section).
Re
I just restored the site and gave you permissions? Can you take a look?
And tell me if I can migrate to 5.3, which was just released?
when restoring the site, with debug mode I got the following message on the front-end:
Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in /home/xxx/public_html/plugins/content/msourcecontent/helpers/options.php on line 129
Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in /home/xxx/public_html/plugins/content/msourcecontent/helpers/options.php on line 129
Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in /home/xxx/public_html/plugins/content/msourcecontent/helpers/options.php on line 129
Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in /home/xxx/public_html/plugins/content/msourcecontent/helpers/options.php on line 129