- Posts: 312
- Thank you received: 19
Update 4.0.2 give error —> 0 Call to undefined method EventbookingHelper.
- Patrick Toulze
-
Topic Author
- Offline
- Elite Member
-
Less
More
3 years 2 months ago - 3 years 2 months ago #149750
by Patrick Toulze
Update 4.0.2 give error —> 0 Call to undefined method EventbookingHelper. was created by Patrick Toulze
Update 4.0.2 give error —>
Code:
0 Call to undefined method EventbookingHelper::ensureCommonLanguageFileExist()
Last edit: 3 years 2 months ago by Patrick Toulze.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
3 years 2 months ago #149751
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Update 4.0.2 give error —> 0 Call to undefined method EventbookingHelper.
Hello
Sometime, it happens because the code is cached (when opcache is enabled on server). Could you please try to update again? It should work well now (the code is cached a while by server)
Tuan
Sometime, it happens because the code is cached (when opcache is enabled on server). Could you please try to update again? It should work well now (the code is cached a while by server)
Tuan
The following user(s) said Thank You: Patrick Toulze
Please Log in or Create an account to join the conversation.
- Patrick Toulze
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 312
- Thank you received: 19
3 years 2 months ago - 3 years 2 months ago #149757
by Patrick Toulze
Replied by Patrick Toulze on topic Update 4.0.2 give error —> 0 Call to undefined method EventbookingHelper.
Thanks Tuan —It work the second time
This is on my local MAMP server and opcache is off (seem to be the default)
This is on my local MAMP server and opcache is off (seem to be the default)
Last edit: 3 years 2 months ago by Patrick Toulze.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
3 years 2 months ago #149758
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Update 4.0.2 give error —> 0 Call to undefined method EventbookingHelper.
Strange. I also added some code to the package to invalidate the file to prevent cache in case opcache is enabled
Maybe the issue happens in some special case, I'm unsure yet. For some reasons, the old code is cached, so when the extension calls the method, it is unavailable and there is error
I will see if any other customers get the same error
Tuan
Maybe the issue happens in some special case, I'm unsure yet. For some reasons, the old code is cached, so when the extension calls the method, it is unavailable and there is error
I will see if any other customers get the same error
Tuan
The following user(s) said Thank You: Patrick Toulze
Please Log in or Create an account to join the conversation.
- Patrick Toulze
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 312
- Thank you received: 19
3 years 2 months ago #149761
by Patrick Toulze
Replied by Patrick Toulze on topic Update 4.0.2 give error —> 0 Call to undefined method EventbookingHelper.
- Tuan Pham Ngoc
- Away
- Administrator
-
3 years 2 months ago #149762
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Update 4.0.2 give error —> 0 Call to undefined method EventbookingHelper.
Thanks. I added some code to invalidate cache, let's see if there is anyone else gets the same error
Please Log in or Create an account to join the conversation.
- Manuel Horne
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
3 years 2 months ago #149778
by Manuel Horne
Replied by Manuel Horne on topic Update 4.0.2 give error —> 0 Call to undefined method EventbookingHelper.
Hi,
just got the same when updating from 3.17.6. to 4.0.2.
opcache is enabled
Cheers,
MAIWEL
just got the same when updating from 3.17.6. to 4.0.2.
opcache is enabled
Cheers,
MAIWEL
- Tuan Pham Ngoc
- Away
- Administrator
-
3 years 2 months ago #149786
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Update 4.0.2 give error —> 0 Call to undefined method EventbookingHelper.
Hmm. OK. I added the code directly to installation script instead of calling it via EventbookingHelper class to avoid opcache issue. Hope the issue is sorted now
Tuan
Tuan
The following user(s) said Thank You: Manuel Horne
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.