Upgrading to J4

ita4012
Topic Author
Posts: 16
4 years 3 weeks ago #4389 by ita4012
Upgrading to J4 was created by ita4012
Hi. I am doing some tests on a demo version of my site before upgrading my live site to J4.

I found out that JJ shoutbox Pro is now ready for J4. So I downloaded that version from your site , and tested on my site after J4 upgrading was completed. Before J4 upgrading, I've only disabled J3 JJ shoutbox. Now, when I try to publish JJshoutbox module, I get this error message: 0 htmlspecialchars(): Argument #1 ($string) must be of type string, array given

Any suggestions?

Thanks

Please Log in or Create an account to join the conversation.

Lodder
Lodder's Avatar
Posts: 1264
4 years 3 weeks ago #4390 by Lodder
Replied by Lodder on topic Upgrading to J4
Hi,

On the Joomla Global Configuration, could you enable "Debug System" and check while file/line the error is coming from?

Kind regards,
Lodder

Please Log in or Create an account to join the conversation.

ita4012
Topic Author
Posts: 16
4 years 2 weeks ago #4391 by ita4012
Replied by ita4012 on topic Upgrading to J4
Ok.

Here is what happened:

Call stack
# Function Location
1 () JROOT/layouts/joomla/form/field/text.php:99
2 htmlspecialchars() JROOT/layouts/joomla/form/field/text.php:99
3 include() JROOT/libraries/src/Layout/FileLayout.php:128
4 Joomla\CMS\Layout\FileLayout->render() JROOT/libraries/src/Form/Field/TextField.php:238
5 Joomla\CMS\Form\Field\TextField->getInput() JROOT/libraries/src/Form/FormField.php:1029
6 Joomla\CMS\Form\FormField->renderField() JROOT/layouts/joomla/edit/fieldset.php:43
7 include() JROOT/libraries/src/Layout/FileLayout.php:128
8 Joomla\CMS\Layout\FileLayout->render() JROOT/libraries/src/Layout/LayoutHelper.php:76
9 Joomla\CMS\Layout\LayoutHelper::render() JROOT/administrator/components/com_modules/tmpl/module/edit.php:122
10 include() JROOT/libraries/src/MVC/View/HtmlView.php:410
11 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:203
12 Joomla\CMS\MVC\View\HtmlView->display() JROOT/administrator/components/com_modules/src/View/Module/HtmlView.php:81
13 Joomla\Component\Modules\Administrator\View\Module\HtmlView->display() JROOT/libraries/src/MVC/Controller/BaseController.php:639
14 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_modules/src/Controller/DisplayController.php:84
15 Joomla\Component\Modules\Administrator\Controller\DisplayController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
16 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
17 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
18 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
19 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
20 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
21 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
22 require_once() JROOT/administrator/index.php:32

Please Log in or Create an account to join the conversation.

Lodder
Lodder's Avatar
Posts: 1264
4 years 2 weeks ago #4392 by Lodder
Replied by Lodder on topic Upgrading to J4
Thanks,

Looking at the stack trace alone, it doesn't look like the error is coming from the Shoutbox.

Does it not show you the file that the error is coming from?
If not, would it be possible to send me a backup if your site via email (This email address is being protected from spambots. You need JavaScript enabled to view it.) so I can debug the issue?

Kind regards,
Lodder

Please Log in or Create an account to join the conversation.

ita4012
Topic Author
Posts: 16
4 years 2 weeks ago - 4 years 2 weeks ago #4393 by ita4012
Replied by ita4012 on topic Upgrading to J4
Well, even excluding images, my website akeeba backup is 6 GB.

It's difficult to share it via email.

So, if you want to have a look in it, I give you Super Users access via email.

Let me know.

Thanks. Best regards
Last edit: 4 years 2 weeks ago by ita4012.

Please Log in or Create an account to join the conversation.

WHStables
WHStables's Avatar
Posts: 65
3 years 10 months ago - 3 years 10 months ago #4406 by WHStables
Replied by WHStables on topic Upgrading to J4
Hey Lodder. I had the same thing but I wonder if I installed it right. I cloned my main site to one of my test sites and did the J4.2.5, then the Kunena 6.0.6 on separate days. I thought I would do the shoutbox pro today for fun because it couldn't be a problem and got the same message - (in the modules tab).

However I thought this info may help. The old shoutbox pro module for the latest J3 was still on there although disabled, and showed needing an update. I took the latest pro and installed it and - (it had errors when doing the install), and when I went to the shoutbox config and that is where the error showed up. I uninstalled it and reinstalled it again and it went in fine, although I have to start all over smileys and all.

Is there a way to keep the old settings, smileys, and such when putting the latest pro on J4x? I looked for instructions to upgrade the shoutbox for J4 and couldn't find any, so I just did what I mentioned above.

I have some screenshots of the errors on the install where the error showed up on the 1st install but don't see where I can add them here. I hope this extra info is helpful. :)
Last edit: 3 years 10 months ago by WHStables.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum