Issue after updating to newest version

4 years 3 weeks ago #1 by Leonie
I just updated my shortlist to the newest version, but it's having some issues while it was running fine before

1- the "MyShortlist default page" page of both lists I have show the error
42S22 - SQLSTATE[42S22]: Column not found: 1054 Unknown column 'published' in 'where clause'.
These pages are now unusable.
2- In the new component admin panel it says
Notice: Trying to access array offset on value of type int in C:\xampp\htdocs\administrator\components\com_myshortlist\models\default.php on line 26
(it says this at every page except "custom blocks")

I've tried uninstalling/reinstalling but it doesn't seem to work.

Joomla version: Joomla! 3.9.22 Stable [ Amani ] 6-October-2020 15:00 GMT
PHP Version: 7.4.12

Please Log in or Create an account to join the conversation.

4 years 3 weeks ago #2 by Christopher Mavros
Replied by Christopher Mavros on topic Issue after updating to newest version
Hello Leonie and thank you for posting!
We'll check this right away and fix it.

Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!

Please Log in or Create an account to join the conversation.

4 years 3 weeks ago #3 by Christopher Mavros
Replied by Christopher Mavros on topic Issue after updating to newest version
Hi again. Just released a quick fix. Can you please update and check that everything's alright?
Thanks again.

Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!

Please Log in or Create an account to join the conversation.

4 years 3 weeks ago #4 by Leonie
Replied by Leonie on topic Issue after updating to newest version
This fixed most of the issues so thanks! (The list page is working again)
The error message I mentoined in Issue 2 is gone at the "Lists" page of the component settings. But still appears in "Custom block Items", "Statistics" and "Sent Lists"
just now I noticed the files are different though, so here they are:
Notice: Trying to access array offset on value of type int in /home/sonicdistrict.com/public_html/administrator/components/com_myshortlist/models/customblockitems.php on line 26
Notice: Trying to access array offset on value of type int in /home/sonicdistrict.com/public_html/administrator/components/com_myshortlist/models/statistics.php on line 26
Notice: Trying to access array offset on value of type int in /home/sonicdistrict.com/public_html/administrator/components/com_myshortlist/models/sentlists.php on line 26

Also there seems to be a javascript issue at the front-end, it only appears if I enable the shortlist module
Uncaught TypeError: Cannot read property 'msl_list_names' of undefined
    at msl_initialize (script.min.js:1)
    at HTMLDocument.<anonymous> (script.min.js:1)
    at u (jquery.min.js?c17430e2cbf0dcbe4f9382c2e701c312:2)
    at Object.fireWith [as resolveWith] (jquery.min.js?c17430e2cbf0dcbe4f9382c2e701c312:2)
    at Function.ready (jquery.min.js?c17430e2cbf0dcbe4f9382c2e701c312:2)
    at HTMLDocument._ (jquery.min.js?c17430e2cbf0dcbe4f9382c2e701c312:2)
this error seems to stop one other module from working (a plugin to lazy load images, so some images no longer loads if I enable both plugins)
It might be because I am on a wrong version of jquery? If that's the case I'll have to figure out how to update this...

Please Log in or Create an account to join the conversation.

4 years 3 weeks ago #5 by Christopher Mavros
Replied by Christopher Mavros on topic Issue after updating to newest version
So, I just released another fix. I haven't got these errors that you mention in the back-end. What is your PHP version?
You shouldn't get them after the update, but I would like to check something.

The issue on the front-end should probably be fixed. If it's not, please make sure to clear your cache.
Thanks again for your patience.

Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!

Please Log in or Create an account to join the conversation.

4 years 3 weeks ago #6 by Leonie
Replied by Leonie on topic Issue after updating to newest version
hi, all the issues including those on the backend have been fixed with the latest update! Thanks :)

Please Log in or Create an account to join the conversation.

Moderators: Christopher Mavros