- Posts: 2
php 8 support
- smarty70
- Topic Author
- Offline
- New Member
-
I've tried to upgrade my php from 7.4 to 8.1. but then Joomla shows an error. After deactivating the joomdlemoduls no error is shown.
Will there be an php 8 support or what do I have to do, to make it work?
Thanks a lot.
Uwe K
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
- Posts: 7848
Can you share the error to see if it something related to Joomdle?
Moodle does not still support PHP 8.1, so that might be the root of the issue:
docs.moodle.org/dev/Moodle_and_PHP
Please Log in or Create an account to join the conversation.
- smarty70
- Topic Author
- Offline
- New Member
-
- Posts: 2
THis is the >Message:
0 - Call to undefined function xmlrpc_encode_request()
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
- Posts: 7848
Look here:
www.joomdle.com/wiki/Category:FAQ#What_a...XML-RPC_and_PHP_8.3F
You should use REST with PHP8, instead of XMLRPC.
Please Log in or Create an account to join the conversation.
- Wynand Louw
-
- Offline
- Premium Member
-
() JROOT/components/com_joomdle/views/mycertificates/tmpl/default.php:25
include() JROOT/libraries/src/MVC/View/HtmlView.php:436
Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:220
Joomla 4.1.5 Moodle 4.0.2 and Joomdle 2.0.3
Wynand
Please Log in or Create an account to join the conversation.
- Wynand Louw
-
- Offline
- Premium Member
-
Wynand Louw wrote: My Certificates on Joomla logged in user gives the following error: 0 Cannot access offset of type string on string
() JROOT/components/com_joomdle/views/mycertificates/tmpl/default.php:25
include() JROOT/libraries/src/MVC/View/HtmlView.php:436
Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:220
Joomla 4.1.5 Moodle 4.0.2 and Joomdle 2.0.3
Wynand
I now get the same error on certificates with the following using Joomla 4.2.6 Moodle 4.1.0 and Joomdle 2.0.4
() JROOT/components/com_joomdle/views/mycertificates/tmpl/default.php:25
2 include() JROOT/libraries/src/MVC/View/HtmlView.php:410
3 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:203
4 Joomla\CMS\MVC\View\HtmlView->display() JROOT/components/com_joomdle/views/mycertificates/view.html.php:35
5 JoomdleViewMycertificates->display() JROOT/libraries/src/MVC/Controller/BaseController.php:639
6 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/components/com_joomdle/controller.php:41
7 JoomdleController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
8 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_joomdle/joomdle.php:15
9 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
11 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
12 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200
13 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:241
14 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
15 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
16 require_once() JROOT/index.php:32
Please Log in or Create an account to join the conversation.
- Wynand Louw
-
- Offline
- Premium Member
-
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
- Posts: 7848
I tested and got the same problem: the cause was that I had incorrectly set the certificate type to use.
I guess this is what happens to you too, so please check your menu item to see what type you have set and change it if it is not the same as the one you are using in Moodle.
For next Joomdle release, I have added some code to better detect web service calls errors, showing a more descriptive message.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
- Posts: 7848
Please download and test this new package:
www.joomdle.com/aux/mod_joomdle_my_certificates_v1.1.0.zip
Please Log in or Create an account to join the conversation.
- Wynand Louw
-
- Offline
- Premium Member
-
Please Log in or Create an account to join the conversation.