Wednesday, 12 October 2022
  9 Replies
  591 Visits
0
Votes
Undo
When I want to edit an event I get the following error:

Call to a member function getData() on null

I'm using JEvents v3.6.42 and Joomla 4.2.3. Can someone help me solve this? The errors displayed in the debug mode are as follows:

Debugmode.jpg
2 years ago
·
#228129
Accepted Answer
0
Votes
Undo
Getting closer - I've searched the whole codebase for where we check for core.create permissions and am now going a test on each before looking for the results.

This should now allow you to reset your permissions

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!

2 years ago
·
#228088
0
Votes
Undo
Can you check your JEvents configuration on the permissions tab - do you have any users groups that are authorised to create events?

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!

2 years ago
·
#228117
0
Votes
Undo
No, I can't check the JEvents configuration. I get the same error when I open that. I did have that in the Joomla 3 version, but since the update to Joomla 4 I get this error. Is there anyway I can change this settings in the MySQL database or something?
2 years ago
·
#228123
0
Votes
Undo
Can you try this build - it will hopefully give you the change to change your settings.

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!

2 years ago
·
#228126
0
Votes
Undo
I installed the new build, but the error remains. When editing an event I see the following error

Screenshot 2022-10-19 112916.png

When I want to change the JEvents configuration (to access the permission settings) I see the following error:

Screenshot 2022-10-19 114235.png
2 years ago
·
#228129
Accepted Answer
0
Votes
Undo
Getting closer - I've searched the whole codebase for where we check for core.create permissions and am now going a test on each before looking for the results.

This should now allow you to reset your permissions

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!

2 years ago
·
#228133
0
Votes
Undo
Thank you! The problem is solved. There already were user groups with permission to create events. So I didn't have to change anything in the permissions.

I can now edit and save events again :)
2 years ago
·
#228198
0
Votes
Undo
Hi, I seem to have the same problem, but I'm not clear how @wilco1219 solved it.

"Call to a member function getData() on null" on attempting to add new or edit an event or category, or opening Configuration.

I'm using JEvents v3.6.42 and Joomla 4.2.3 on a recently created website and newly installed JEvents

Support info:


PHP Version : 8.0.23
MySQL Version : 10.3.28-MariaDB
Server Information : Linux sphere.dse.fastwebservers.com.au 3.10.0-714.10.2.lve1.5.19.9.el7.x86_64 #1 SMP Thu Nov 1 08:01:39 EDT 2018 x86_64
*** CONFIG NOT SAVED***
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : Yes
Max Input Vars ? : 2000
Club code set? : No
User Agent : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0
Joomla : 4.2.3
component_com_jevents : 3.6.42
component_com_jce : 2.9.30
module_mod_jevents_cal : 3.6.42
module_mod_jevents_custom : 3.6.42
module_mod_jevents_filter : 3.6.42
module_mod_jevents_latest : 3.6.42
module_mod_jevents_legend : 3.6.42
module_mod_jevents_switchview : 3.6.42
plugin_actionlog_jevents : 3.6.42 (not enabled)
plugin_acymailing_edocman_j30 : 1.0 (not enabled)
plugin_content_jevents : 3.6.42
plugin_finder_jevents : 3.6.42
plugin_installer_jeventsinstaller : 3.6.42
plugin_search_eventsearch : 3.6.42
plugin_system_gwejson : 3.6.42


Many thanks for any help!
2 years ago
·
#228204
0
Votes
Undo
Tr43 I installed the package above. Please note that you use the one that's marked as an answer. Installing the package solved the problem. There was nothing else I had to do
2 years ago
·
#228213
0
Votes
Undo
wilco1219 Many thanks! Installed the package, and all seems to be working now. Very easy.
  • 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.