×
Shop / e-Commerce Integration
Getting an error when I publish a course to HikaShop
10 months 4 weeks ago
Topic Author
Getting an error when I publish a course to HikaShop #1
I am getting an error when I publish a new course into HikaShop. If I go to Joomdle->Shop and publish the new course, I get this error:
An error has occurred.
0 count(): Argument #1 ($value) must be of type Countable|array, null given
However the course looks to be set up properly in HikaShop. Or at least it appears to work. Any ideas what the issue might be or how to fix it?
Joomla 5.0.3
Joomdle 2.2.3
HikaShop 5.0.3
Moodle 4.1.6 (Build: 20231009)
PHP 8.1.27
An error has occurred.
0 count(): Argument #1 ($value) must be of type Countable|array, null given
However the course looks to be set up properly in HikaShop. Or at least it appears to work. Any ideas what the issue might be or how to fix it?
Joomla 5.0.3
Joomdle 2.2.3
HikaShop 5.0.3
Moodle 4.1.6 (Build: 20231009)
PHP 8.1.27
Please Log in or Create an account to join the conversation.
10 months 4 weeks ago
Getting an error when I publish a course to HikaShop #2
Thanks for the bug report, it is a warning caused by an uninitialized variable.
I will release a new version soon. If you want to fix it before, you just need to edit file plugins/joomdleshop/joomdleshophikashop/joomdleshophikashop.php and add this in line 155:
$element->images = array ();
I will release a new version soon. If you want to fix it before, you just need to edit file plugins/joomdleshop/joomdleshophikashop/joomdleshophikashop.php and add this in line 155:
$element->images = array ();
Please Log in or Create an account to join the conversation.
6 months 5 days ago
Topic Author
Getting an error when I publish a course to HikaShop #3
Just an FYI that this error still exists. I am creating a new Joomla/Joomdle/Moodle instance and ran into it again using the latest downloads from your website. Might want to ensure that the fix gets added to the plugin.
Please Log in or Create an account to join the conversation.
6 months 4 days ago
Getting an error when I publish a course to HikaShop #4
Thanks for the reminder, I forgot about this one.
I have published it now for download, although you won't see it pop up in updates yet, because I am having some issues with that and I cannot work on it right now.
I have published it now for download, although you won't see it pop up in updates yet, because I am having some issues with that and I cannot work on it right now.
Please Log in or Create an account to join the conversation.
2 weeks 10 hours ago
Getting an error when I publish a course to HikaShop #5
On this topic when I want to publish or unpublish a course I get the following error:
An error has occurred.
0 Call to undefined method Joomla\Database\Mysqli\MysqliDriver::query()
Joomla 5.2.2 and moodle 4.5.2
An error has occurred.
0 Call to undefined method Joomla\Database\Mysqli\MysqliDriver::query()
Joomla 5.2.2 and moodle 4.5.2
Please Log in or Create an account to join the conversation.
2 weeks 10 hours ago
Getting an error when I publish a course to HikaShop #6
I downloaded the new plugin and that seems to have resolved the matter
Please Log in or Create an account to join the conversation.