eworkers / K2ForJ4

GNU General Public License v2.0
11 stars 6 forks source link

"K2 Stats (admin)" widget crashes Joomla 4 #28

Closed cmirnow closed 1 year ago

cmirnow commented 1 year ago

Enabling widget K2 Stats (admin) in the admin panel of Joomla 4 initiates an error:

An error has occurred.
0 Joomla\CMS\HTML\Helpers\Bootstrap::startTabSet(): Return value must be of type string, none returned

or

The server returned a "500 - Whoops, looks like something went wrong."

Reproduce: Admin Panel (Joomla 4.2.5, php 8.1) -> Add module to the dashboard -> Select a Module Type -> K2 Stats (admin). Publish the module (position Atum -> "cpanel" or "status").

eworkers commented 1 year ago

For 2 or more K2stats published? or for all cases?

cmirnow commented 1 year ago

That's a good question... I'm sorry, it's hard for me to answer. Probably the first case. But I'm not sure.

I installed K2 v.2.10.3 on Joomla 3, then upgraded K2 to K2ForJ4, then upgraded Joomla and raised php to 8. K2 Stats disappeared from the admin panel. I republished the module and got this error. @eworkers, if this issue is critical, I can give a more confident answer, but that will be late tonight.

eworkers commented 1 year ago

Not a problem @cmirnow , we already have push that should close this issue as well as #30 , in any case your problems still existed please be free to open again.