Skip to main content

#67 Error in the backend with PHP 8

Posted in ‘NorrCompetition’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information (available for public)

PHP version
8.0

Latest post by Patrick1957 on Thursday, 17 August 2023 00:44 EEST

Patrick1957

Hi !

I am using Joomla 3.12 When I set the PHP version to 8.0 (instead of 7.4) I have an error in the backend to access the competitions. Everything else works fine. What to do ?

Error :
0 implode(): Argument #2 ($array) must be of type ?array, string given

Regards
Patrick

b2z

Hi Patrick,

Just have checked our test enviorment with NorrCompetition 1.8.9 running on PHP 8.1.18 and it is working fine.

Please enable the debug in Joomla configuration and this will display a full path to a file and line where an error is occurring.

Kind regards,

Dmitrijs

Patrick1957

I click on: norrcompetition --> Concours --> Concours d'aout 2023 (for example)

-----------------------------------------------------

Une erreur s'est produite
0 implode(): Argument #2 ($array) must be of type ?array, string given
/home2/patrick06/cafe-des-arts/plugins/editors-xtd/wbamp/wbamp.php:151
Call stack
#
Function
Location
1
()
JROOT/plugins/editors-xtd/wbamp/wbamp.php:151
2
implode()
JROOT/plugins/editors-xtd/wbamp/wbamp.php:151
3
PlgButtonWbamp->onDisplay()
JROOT/libraries/src/Editor/Editor.php:492
4
Joomla\CMS\Editor\Editor->getButtons()
JROOT/plugins/editors/jce/jce.php:284
5
plgEditorJCE->getXtdButtons()
JROOT/plugins/editors/jce/jce.php:292
6
plgEditorJCE->displayButtons()
JROOT/plugins/editors/jce/jce.php:197
7
plgEditorJCE->onDisplay()
JROOT/libraries/joomla/event/event.php:70
8
JEvent->update()
JROOT/libraries/src/Editor/Editor.php:326
9
Joomla\CMS\Editor\Editor->display()
JROOT/libraries/src/Form/Field/EditorField.php:256
10
Joomla\CMS\Form\Field\EditorField->getInput()
JROOT/administrator/components/com_competition/models/fields/competitiondescription.php:76
11
NcFormFieldCompetitionDescription->getInput()
JROOT/libraries/src/Form/FormField.php:975
12
Joomla\CMS\Form\FormField->renderField()
JROOT/libraries/src/Form/Form.php:669
13
Joomla\CMS\Form\Form->renderField()
JROOT/administrator/components/com_competition/views/competition/tmpl/edit.php:43
14
include()
JROOT/libraries/src/MVC/View/HtmlView.php:701
15
Joomla\CMS\MVC\View\HtmlView->loadTemplate()
JROOT/libraries/src/MVC/View/HtmlView.php:230
16
Joomla\CMS\MVC\View\HtmlView->display()
JROOT/administrator/components/com_competition/views/competition/view.html.php:83
17
CompetitionViewCompetition->display()
JROOT/libraries/src/MVC/Controller/BaseController.php:664
18
Joomla\CMS\MVC\Controller\BaseController->display()
JROOT/administrator/components/com_competition/controller.php:60
19
CompetitionController->display()
JROOT/libraries/src/MVC/Controller/BaseController.php:702
20
Joomla\CMS\MVC\Controller\BaseController->execute()
JROOT/administrator/components/com_competition/competition.php:49
21
require_once()
JROOT/libraries/src/Component/ComponentHelper.php:402
22
Joomla\CMS\Component\ComponentHelper::executeComponent()
JROOT/libraries/src/Component/ComponentHelper.php:377
23
Joomla\CMS\Component\ComponentHelper::renderComponent()
JROOT/libraries/src/Application/AdministratorApplication.php:101
24
Joomla\CMS\Application\AdministratorApplication->dispatch()
JROOT/libraries/src/Application/AdministratorApplication.php:159
25
Joomla\CMS\Application\AdministratorApplication->doExecute()
JROOT/libraries/src/Application/CMSApplication.php:225
26
Joomla\CMS\Application\CMSApplication->execute()
JROOT/administrator/index.php:51
 Retour au panneau de contrôle

Patrick1957

Hi,

I disable wbwamp button on JCE editor.

Now it works.

Thanks for help.

Patrick 

Support information

Support hours: You can get our help: Monday - Friday / 09:00 to 17:00 (GMT+3), but not limited. Our staff is pleased to provide Premium support to every paid subscriber asap, but sometimes you should be ready to wait for our reply for up to 3 days.


Our time: / Your time:

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. We also ask you to remove temporary credentials at your site after the problem is resolved. Thank you.

Support of free extensions is not provided on this forum. Please submit your questions or report issues via Github tracker. See link on the product page.