- Posts: 7
COMMUNITY FORUM
Fatal Error after Joomla 3.6 update
- Abeer Kirollos
-
Topic Author
- Offline
- New Member
We currently have K2 version 2.6.9. How to correct this issue?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
You need to update K2 to its latest version or even better install the latest DEV version github.com/getk2/k2.
Please Log in or Create an account to join the conversation.
- Bam Bam
-
- Offline
- Senior Member
- Posts: 77
I have the same issue with version 2.6.9, but I can't update to 2.7 because of several 3rd-party-plugins which do not run under 2.7. (I tested it ;)).
Do you have any other ideas to get editing on frontend to work again?
Thanks,
Matthew
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
github.com/getk2/k2/blob/master/components/com_k2/views/item/view.html.php
You can Frankenstein it (backup first) but I do not know if other issues will arise.
Please Log in or Create an account to join the conversation.
- Bam Bam
-
- Offline
- Senior Member
- Posts: 77
Currently I'm doing a backup of the site and try installing 2.7.1. If that doesn't work I'll try your suggested method. :)
Thanks... again...
Matthew.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Please Log in or Create an account to join the conversation.
- Bam Bam
-
- Offline
- Senior Member
- Posts: 77
In the backend the tabs don't work anymore. All tabs (the links) and the content is above each other, console gives no JS-errors, all caches cleared, 3 different browsers tested.
And when editing in the frontend: the editor now shows up, but I can't save or close anything. The buttons for "featured" and "enabled" also don't work. Console gives following error in k2.js:
VM366 k2.js?v=2.7.1&sitepath=/:587
Uncaught TypeError: parent.$(...).removeEvents is not a function
(anonymous function) @ VM366 k2.js?v=2.7.1&sitepath=/:587
i @ VM361 jquery.min.js:2
fireWith @ VM361 jquery.min.js:2
ready @ VM361 jquery.min.js:2
K @ VM361 jquery.min.js:2
Got an advice before I need to roll back and Frankensteinin' it?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
This means you need to clear both Joomla!'s and your browser's cache.
You were correct to do this. If you are using an obsolete override of itemform.php you might need to update it, although this is unlikely.
Can you check if jQuery is being loaded and if not, can you enable jQuery loading from K2's settings.
Please Log in or Create an account to join the conversation.
- Bam Bam
-
- Offline
- Senior Member
- Posts: 77
I updated jquery to version 2.1.3. The frontend JS error is gone. But there are still the tabs in front- and backend that don't work. :(
Please Log in or Create an account to join the conversation.
- Bam Bam
-
- Offline
- Senior Member
- Posts: 77
Summary: update jquery, update itemform.php
My problems: SOLVED --- Thank you so much, Krikor!!!
Btw.: What about my other templates? Do I have to update them, too?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
I always keep my Joomla!'s sites updated so I would urge you to update.
Please Log in or Create an account to join the conversation.
- Bam Bam
-
- Offline
- Senior Member
- Posts: 77
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Another point you should check is wether the modals work properly (which should).
Other than that, no major changes so I doubt you'll need to update your templates.
Please Log in or Create an account to join the conversation.
- Bam Bam
-
- Offline
- Senior Member
- Posts: 77
Thanks for the info!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Please Log in or Create an account to join the conversation.
- Joseph Rebele
-
- Offline
- Junior Member
- Posts: 29
I, too have a custom itemform.php. Can you share what needed to be changed in the itemform.php to eliminate the Error 0 I am getting when trying to access the form?
Thanks,
Joe
Please Log in or Create an account to join the conversation.
- Joseph Rebele
-
- Offline
- Junior Member
- Posts: 29
I, too have a custom itemform.php. Can you share what needed to be changed in the itemform.php to eliminate the Error 0 I am getting when trying to access the form? This occurred after updating to Joomla v3.6.
Thanks,
Joe
Please Log in or Create an account to join the conversation.
- Bam Bam
-
- Offline
- Senior Member
- Posts: 77
It's a little work, but when it's done everything should run fine again.
Hope this helps?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Then you can apply the changes (I presume markup and/or styling) you had on your itemform.
Please Log in or Create an account to join the conversation.
- caseyz
-
- Offline
- New Member
- Posts: 18
-Thanks
Please Log in or Create an account to join the conversation.