By Guest on Friday, 21 July 2023
Replies 5
Likes 0
Views 1K
Votes 0
Hi fellows!

During import from ical, I got these failure report:
Es ist ein Fehler aufgetreten.

0 count(): Argument #1 ($value) must be of type Countable|array, null given

Call stack
# Function Location
1 () JROOT/components/com_jevents/libraries/iCalICSFile.php:496
2 iCalICSFile->store() JROOT/administrator/components/com_jevents/controllers/icals.php:442
3 AdminIcalsController->save() JROOT/libraries/src/MVC/Controller/BaseController.php:678
4 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_jevents/jevents.php:274
5 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
6 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
7 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
8 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
9 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
10 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
11 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
12 require_once() JROOT/administrator/index.php:32

Can anybody help?
Thanks in advance!
Unzip and upload this file to components/com_jevents/libraries/ and it should resolve this issue

I will issue a new release with the fix soon
·
Tuesday, 25 July 2023 11:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for your help!
But actually, on importing the events, I get still an error:
Es ist ein Fehler aufgetreten.

0 Non-static method iCalImport::unixTime() cannot be called statically

Call stack
# Function Location
1 () JROOT/components/com_jevents/libraries/iCalEvent.php:456
2 iCalEvent->cancelRepetition() JROOT/components/com_jevents/libraries/iCalICSFile.php:572
3 iCalICSFile->store() JROOT/administrator/components/com_jevents/controllers/icals.php:442
4 AdminIcalsController->save() JROOT/libraries/src/MVC/Controller/BaseController.php:678
5 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_jevents/jevents.php:274
6 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
7 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
8 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
9 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
10 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
11 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
12 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
13 require_once() JROOT/administrator/index.php:32
·
Wednesday, 02 August 2023 19:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Try this build

PHP 8.2 is causing more headaches than any php release in the last few years!
·
Thursday, 03 August 2023 17:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Great! Thank you so much! This release is working properly!
There only one litle thing in both releases: ical_custom_timezones.php isn't been loaded.
I have to add custom time zones manually to the iCalImport.php.
For me, this is not a big issue, but maybe someone knows a solution...
Best regards!
·
Friday, 04 August 2023 19:51
·
0 Likes
·
0 Votes
·
0 Comments
·
I just tested the ical_custom_timezones.php in components/com_jevents/libraries/ and it loads correctly.

What do you have in your custom file?

You could add this to the file to throw an intentional error to show that it is loading


die("here");
·
Tuesday, 15 August 2023 11:45
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post