Hello,
I have just updated to 4.0.24 and it has wrecked my site (again!). jDownloads control panel is messed up - similar to issues I had a few months ago. I want to revert to 4.0.22 but can't find it for download anymore. Help!
Edit: the website seems fine on the frontend (and the downloads still work). But see the screenshot of the backend control panel.
I tried to revert to 4.0.21 beta (the last saved zip file I have that works) but I got the message: "Error! Incorrect version sequence. Cannot upgrade. 4.0.24 to 4.0.21 Beta"
This is what I get when I enable debugging.
When you want to go back to 4.0.21 you will find it attached. The version.
I have today not the time to check your problem. But nobody else has it reported at the moment. But I will check soon what happend here.
Hi
I had no trouble with updating to jD4.0.24 - have been using it for testing AOK
Maybe you have a rogue module or plugin left over from an earlier version that is not J4 compliant
It might be helpful if you set up a test site on say XAMPP so you could remove/disable items
Colin
Thanks for your replies. Do you have 4.0.22? That one worked too. Do I need to uninstall 4.0.24 first to downgrade? Will all my data remain?
Colin, we communicated a few months ago about similar issues, and Arno did something to fix an issue with my database. jD has been working fine since... until 4.0.24.
Hi,
please use still the version 4.0.24 but install try the attached module version.
I have now checked your error message.
However, I cannot reproduce it. Because even if I have not yet created any downloads, the result of the database query is (as expected) an array() and the error does not occur. In your case, however, the value seems to be an integer. And only then does the error occur.
I can't exactly narrow down the reason for this unexpected return value at the moment.
However, to avoid the error in the future, I have changed the lines in question.
Edit:
Module updated with the right version!
Hi Arno,
I installed the file you sent. Now the control panel is giving me a different error:
Class "JDownloads\Module\JDownloadsAdminStats\Administrator\Helper\Error" not found
If I click on 'Categories' or 'Downloads' I still get:
An error has occurred.
0 count(): Argument #1 ($value) must be of type Countable|array, bool given
As mentioned, 4.0.22 worked fine, so something must have changed between 4.0.22 and 4.0.24!
Hi
The only changes in Admin Stats module between 4.0.22 and 4.0.24 are adding checking for errors in Latest, Most Downloaded (also known as Popular) and Featured.
So could I suggest that you access the admin module 'jDownloads Stats for Administrators' and selectively turn of the relevant View tabs to further locate the 'challenge' - please attached pic
Colin
Hmm... I can't seem to find that module. It appears to be missing. I see jDownloads Stats, but not jDownloads Stats for Administrators. I checked in both Site and Administrator modules. Was something missing from the updated file you sent me in your previous message?
The name of the module appears under "manage extensions", but it's nowhere to be seen under "modules"!
Hi
Yes you can find it that way - just easier to use the Administrator Modules entry - see pic
Did you try switching off the various Views?
Colin
Colin,
Like I said, the jDownloads Stats for Administrators module is nowhere to be found. It appears under "manage extensions" but that's it. When I list the administrator modules it is not there at all. So I have no access to it.
Strange thing and I am amazed at their Problems. ::)
It is an older version which they have only updated. So downloads must already exist in the backend, right?
Would it be possible to access the backend again?
Sure, I will DM you.
Apparently I made a mistake when uploading the modified module above and uploaded the old version again. I am sorry for that.I'm probably ready for my holidays.
I have now installed the right. But it seems to exist a problem with your jDownloads DB tables! The 'Latest' and 'Top' Downloads values can never be empty in your case.
I will contact you via PM again later or tomorrow.
Edit:
Ii have also updated the file attachment above.
Ok, it seems to be back to normal now. Thanks!
Do you remember that I sent you my DB tables a few months ago and you fixed something in them? I think it had to do with NULL values also.
Anyway, let me know if I have to fix something else in the DB.
Have a good night!
Yes, I remember.
I'll have to see if I can still find the e-mails.
Seems that I have this emails deleted. Maybe could you send me the jDownloads DB tables again? But I need more time, I start tomorrow my holidays.