Friday, 21 July 2023
  5 Replies
  782 Visits
0
Votes
Undo
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!
PitterS set the post as Normal priority — 1 year ago
PitterS set the type of the post as  Bug — 1 year ago
1 year ago
·
#231614
0
Votes
Undo
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

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

1 year ago
·
#231738
0
Votes
Undo
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
1 year ago
·
#231745
0
Votes
Undo
Try this build

PHP 8.2 is causing more headaches than any php release in the last few years!

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

1 year ago
·
#231758
0
Votes
Undo
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!
1 year ago
·
#231802
0
Votes
Undo
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");

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.