After Upgrade J!3 to J!4 Call to undefined method[...]
1 year 4 months ago - 1 year 4 months ago #70168
by Kommid
After Upgrade J!3 to J!4 Call to undefined method[...] was created by Kommid
Hi,
after migrating my site form J!3 to J!4 I get an error caused by the MaxiMenu Module in my backend: Call to undefined method Joomla\Database\Mysqli\MysqliDriver::getErrorNum().
Debugging Joomla shows the following:
I tried to re-install Maximenu, but without success...
after migrating my site form J!3 to J!4 I get an error caused by the MaxiMenu Module in my backend: Call to undefined method Joomla\Database\Mysqli\MysqliDriver::getErrorNum().
Debugging Joomla shows the following:
Code:
1 () JROOT/modules/mod_maximenuck/elements/cksql.php:39
2 JFormFieldCksQL->getOptions() JROOT/modules/mod_maximenuck/elements/cklist.php:40
3 JFormFieldCklist->getInput() JROOT/libraries/src/Form/FormField.php:1042
4 Joomla\CMS\Form\FormField->renderField() JROOT/layouts/joomla/edit/fieldset.php:43
5 include() JROOT/libraries/src/Layout/FileLayout.php:128
6 Joomla\CMS\Layout\FileLayout->render() JROOT/libraries/src/Layout/LayoutHelper.php:76
7 Joomla\CMS\Layout\LayoutHelper::render() JROOT/layouts/joomla/edit/params.php:170
8 include() JROOT/libraries/src/Layout/FileLayout.php:128
9 Joomla\CMS\Layout\FileLayout->render() JROOT/libraries/src/Layout/LayoutHelper.php:76
10 Joomla\CMS\Layout\LayoutHelper::render() JROOT/administrator/components/com_menus/tmpl/item/edit.php:140
11 include() JROOT/libraries/src/MVC/View/HtmlView.php:415
12 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:203
13 Joomla\CMS\MVC\View\HtmlView->display() JROOT/administrator/components/com_menus/src/View/Item/HtmlView.php:116
14 Joomla\Component\Menus\Administrator\View\Item\HtmlView->display() JROOT/libraries/src/MVC/Controller/BaseController.php:660
15 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_menus/src/Controller/DisplayController.php:73
16 Joomla\Component\Menus\Administrator\Controller\DisplayController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:693
17 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
18 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
19 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
20 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
21 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
22 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
23 require_once() JROOT/administrator/index.php:32
I tried to re-install Maximenu, but without success...
Last edit: 1 year 4 months ago by Kommid.
Please Log in or Create an account to join the conversation.
1 year 4 months ago #70169
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic After Upgrade J!3 to J!4 Call to undefined method[...]
Hi
please rename the folder to "modules/mod_maximenuck/elements2"
then tell me
are you installing the latest version of Maximenu CK ? Light or Pro (to know in which file to look at)
CEd
this file shall not exist anymoremodules/mod_maximenuck/elements/cksql.php
please rename the folder to "modules/mod_maximenuck/elements2"
then tell me
are you installing the latest version of Maximenu CK ? Light or Pro (to know in which file to look at)
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
1 year 4 months ago #70170
by Kommid
Replied by Kommid on topic After Upgrade J!3 to J!4 Call to undefined method[...]
...My bad. After upgrading, I forgot to disable some plugins: I disabled all plugins except System - Maximenu CK and now the error is gone.
Please Log in or Create an account to join the conversation.
1 year 4 months ago #70177
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic After Upgrade J!3 to J!4 Call to undefined method[...]
ok but the system plugin shall be enabled, it is part of the Pro version
may be that you have some old plugin but it is not this one. This system plugin is the entry point for the other Maximenu CK type plugins, that is why disabling it could work
may be that you have some old plugin but it is not this one. This system plugin is the entry point for the other Maximenu CK type plugins, that is why disabling it could work
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.235 seconds