By Guest on Wednesday, 12 October 2022
Replies 9
Likes 0
Views 744
Votes 0
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
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
·
Wednesday, 19 October 2022 11:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you check your JEvents configuration on the permissions tab - do you have any users groups that are authorised to create events?
·
Tuesday, 18 October 2022 14:00
·
0 Likes
·
0 Votes
·
0 Comments
·
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?
·
Tuesday, 18 October 2022 21:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you try this build - it will hopefully give you the change to change your settings.
·
Wednesday, 19 October 2022 09:31
·
0 Likes
·
0 Votes
·
0 Comments
·
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
·
Wednesday, 19 October 2022 10:43
·
0 Likes
·
0 Votes
·
0 Comments
·
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
·
Wednesday, 19 October 2022 11:36
·
0 Likes
·
0 Votes
·
0 Comments
·
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!
·
Sunday, 23 October 2022 09:44
·
0 Likes
·
0 Votes
·
0 Comments
·
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
·
Monday, 24 October 2022 14:22
·
0 Likes
·
0 Votes
·
0 Comments
·
wilco1219 Many thanks! Installed the package, and all seems to be working now. Very easy.
·
Tuesday, 25 October 2022 00:45
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post