News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

"JDownloads\Module\...\Helper\Error" not found - [Not reproducable]

Started by jazzbird, 13.12.2022 18:12:47

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jazzbird

After lots of frustration dealing with the "Column 'publish_down' cannot be null "
(which contrary to this thread appears to NOT be solved: https://www.jdownloads.com/forum/index.php?topic=13787.0)

I have completely deleted the previous version of jDownloads (including all database tables) and reinstalled a fresh copy of 4.0.5.

Now I get this:

An error has occurred.
0 Class "JDownloads\Module\JDownloadsAdminStats\Administrator\Helper\Error" not found
  •  

ColinM

Jazzbird,
You are clearly having some 'challenges'.
It seems to me that there is something specific to you site that is causing the problems that you observe.

For me the problem  "Column 'publish_down' cannot be null " is no longer reproducible
Likewise none of my test sites have a problem with the the Statistics Admin Module
I am using standard Joomla templates (Cassiopeia for Front End and Atum foe Admin) - perhaps you are using another template?

But you are experiencing problems that seem to me to be specific to your site so something must be different.  Is it possible that I could access your site?  If so please send me a Private Message (they are secure) with super user rights so I can look. 

Presume you are running on PHP8 - could you advise which version please

Colin

Colin M
  •  

Arno

Strange. Maybe he has changed the default module settings and use still not tested settings combinations?

But this is the main problem with many of our testers. It is usually not enough just to post the error. In addition, the most important information about the test environment including the settings is needed! And ideally how to reproduce the error, because that is the only way to find and fix it.  :( :-\
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

jazzbird

Arno and Colin,

Thanks for your replies. Yes, the site is running on PHP 8. Also using Cassiopeia for the front end.

As for reproducing the error, I did not do much. Just completely uninstalled jDownloads (including the database), then reinstalled it and got the error I posted.

Colin, I will PM you some login details.
  •  

Arno

QuoteAs for reproducing the error, I did not do much. Just completely uninstalled jDownloads (including the database), then reinstalled it and got the error I posted.
Strange!
Could you please enabled the debug option in your Joomla Global Config?
Try it then again and post here the complete error message (or send it me via PM). Thanks.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

jazzbird

Sure:

An error has occurred.
0 Class "JDownloads\Module\JDownloadsAdminStats\Administrator\Helper\Error" not found
Call stack
# Function Location
1 () JROOT/administrator/modules/mod_jdownloads_admin_stats/src/Helper/JDownloadsAdminStatsHelper.php:52
2 JDownloads\Module\JDownloadsAdminStats\Administrator\Helper\JDownloadsAdminStatsHelper::getLatestItems() JROOT/administrator/modules/mod_jdownloads_admin_stats/mod_jdownloads_admin_stats.php:111
3 include() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:52
4 Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:55
5 Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch() JROOT/libraries/src/Helper/ModuleHelper.php:281
6 Joomla\CMS\Helper\ModuleHelper::renderRawModule() JROOT/libraries/src/Helper/ModuleHelper.php:161
7 Joomla\CMS\Helper\ModuleHelper::renderModule() JROOT/administrator/components/com_jdownloads/tmpl/jdownloads/default.php:99
8 include() JROOT/libraries/src/MVC/View/HtmlView.php:410
9 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:203
10 Joomla\CMS\MVC\View\HtmlView->display() JROOT/administrator/components/com_jdownloads/src/View/Jdownloads/HtmlView.php:191
11 JDownloads\Component\JDownloads\Administrator\View\Jdownloads\HtmlView->display() JROOT/libraries/src/MVC/Controller/BaseController.php:639
12 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_jdownloads/src/Controller/DisplayController.php:50
13 JDownloads\Component\JDownloads\Administrator\Controller\DisplayController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
14 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
15 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
16 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
17 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
18 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
19 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
20 require_once()
  •  

jazzbird

Arno, is that what you were looking for?
I just installed 4.0.6 (after totally removing 4.0.5 as you recommend) and the problem is exactly the same.
  •  

Arno

Hi,
yes that it is. Thanks a lot, this should help me to find it.  :)
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

Arno

Hi,
please disable the view latest downloads option in module settings (see pic).
Try it then again. Repeat this with the other settings until the error no longer occurs.

Unfortunately, I still cannot reproduce the error message.  :-\
Are there any categories and downloads in your download area? Or is everything still empty, with the exception of the default category for uncategorised?
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

jazzbird

Okay. I did what you said and the error disappeared after I disabled the "view featured tab."

But then I clicked on the 'jDownloads/Categories' menu and got this:

An error has occurred.
0 count(): Argument #1 ($value) must be of type Countable|array, bool given
Call stack
# Function Location
1 () JROOT/administrator/components/com_jdownloads/src/View/Categories/HtmlView.php:76
2 JDownloads\Component\JDownloads\Administrator\View\Categories\HtmlView->display() JROOT/libraries/src/MVC/Controller/BaseController.php:639
3 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_jdownloads/src/Controller/DisplayController.php:50
4 JDownloads\Component\JDownloads\Administrator\Controller\DisplayController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
5 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
6 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
7 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
8 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
9 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
10 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
11 require_once() JROOT/administrator/index.php:32


If I click on 'Downloads' I get this:

An error has occurred.
0 count(): Argument #1 ($value) must be of type Countable|array, bool given
Call stack
# Function Location
1 () JROOT/administrator/components/com_jdownloads/src/View/Downloads/HtmlView.php:126
2 JDownloads\Component\JDownloads\Administrator\View\Downloads\HtmlView->display() JROOT/libraries/src/MVC/Controller/BaseController.php:639
3 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_jdownloads/src/Controller/DisplayController.php:50
4 JDownloads\Component\JDownloads\Administrator\Controller\DisplayController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
5 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
6 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
7 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
8 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
9 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
10 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
11 require_once() JROOT/administrator/index.php:32
  •  

jazzbird

if I click on 'Licenses' I get this:

An error has occurred.
0 Illegal mix of collations (utf8mb4_unicode_520_ci,IMPLICIT) and (utf8mb4_unicode_ci,IMPLICIT) for operation '=' Illegal mix of collations (utf8mb4_unicode_520_ci,IMPLICIT) and (utf8mb4_unicode_ci,IMPLICIT) for operation '='
Call stack
# Function Location
1 () JROOT/administrator/components/com_jdownloads/src/View/Licenses/HtmlView.php:61
2 JDownloads\Component\JDownloads\Administrator\View\Licenses\HtmlView->display() JROOT/libraries/src/MVC/Controller/BaseController.php:639
3 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_jdownloads/src/Controller/DisplayController.php:50
4 JDownloads\Component\JDownloads\Administrator\Controller\DisplayController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
5 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
6 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
7 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
8 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
9 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
10 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
11 require_once() JROOT/administrator/index.php:32
  •  

jazzbird

  •  

Arno

Hi,
I am very surprised! The number of problems you have is unbelievable.  :o ::)
But it is not possible for me to reproduce only one from this.

My questions:
What is your database version?
Are there any categories and downloads in your download area? Or is everything still empty, with the exception of the default category for uncategorised?
Do you have a possibility to test jDownloads on another website?

I'll have a look at the tips you posted later. Thanks for that.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •