Remember me

Baforms 2.2.1 prevents Update Joomla 4.4.0 -> Joomla 5

5 months 3 weeks ago #1

  • Christof's Avatar
  • Christof
  • Posts: 54
I have 81 websites using Baforms. 79 of them were updated to Joomla 5 without any issue. 2 of them resulted in an error message «The server returned a "500 - Whoops, looks like something went wrong."» I investigated the issue, which was very time consuming. Then I found out that as soon as I had uninstalled Baforms, the update from Joomla 4.4.0 to Joomla 5 was ok.

Regarding the fact that 79 of my websites could be updated without any Problem (and without having uninstalled Baforms previously) there must be a combination of Baforms and another circumstance on these 2 remaining websites.

Additional information

The Joomla Pre-Update-Check returned the following error message
«An HTTP status code 500 was returned when retrieving JSON data.»
If you now continue with the update, Joomla 5 will crash at the very end of the process.

If you uninstall Baforms and then repeat the Joomla Pre-Update-Check, no more error message will appear and the update can be installed successfully.

I just wanted to Report this issue to you since I do not have the knowledge and I am unable to find out the reason for the error message «An HTTP status code 500 was returned when retrieving JSON data.»

The test version of the website with this issue is still available just in case you want super admin credentials in order to do further investigations.

Thank you and kind regards
Chris

5 months 3 weeks ago #2

  • Artem's Avatar
  • Artem
  • Posts: 11342
Hi Chris,

It looks very strange, doesn't it?!
Working wit it. I'll inform you :)

Regards,
Artem, Balbooa.com

5 months 3 weeks ago #3

  • Christof's Avatar
  • Christof
  • Posts: 54
I do not care much about the information provided by the Pre-Update-Check. There are so many extensions reported as «Possible upgrade issue»... You would never be able to install an update if you waited for all these warnings being gone.

I always do a complete backup of the website and database (Akeeba) and then simply try to install the update. If the update is successful, I will know within seconds. If the update is not successful, I will know within seconds too. And in the latter case, I restore the backup and the website is back to normal within 2 minutes.

Feel free to contact me, if you want super user credentials to the website in question.

5 months 3 weeks ago #4

  • Artem's Avatar
  • Artem
  • Posts: 11342
Chris,

Send us please Joomla admin access:
support.balbooa.com/contact-us

Regards,
Artem, Balbooa.com

5 months 3 weeks ago #5

  • Christof's Avatar
  • Christof
  • Posts: 54
SOLUTION


I have found the reason. It is somehow complex:

- the coexistence between KickstartCassiopeia module and Baforms
- the Joomla 5 Compatibility Plugin (plg_behaviour_compat) was not correctly installed during the update to Joomla 4.4.0. It had to be «repaired» by the system dashboard > Discover.

So here is the solution:
- goto System Dashboard > Discover > Install all extensions that are mentionned there
- disabl either KickstartCassiopeia module or Baforms (or both)
- update to Joomla 5
- afterwards these extensions can be enabled

5 months 3 weeks ago #6

  • Artem's Avatar
  • Artem
  • Posts: 11342
Nice job and thanks for sharing! I'll pin this topic

Regards,
Artem, Balbooa.com

5 months 2 weeks ago #7

  • Jürgen's Avatar
  • Jürgen
  • Posts: 2
Baforms works after the update to Joomla 5.0.
Unfortunately, the CLI commands no longer work.
I get the following error message:

php81 cli/joomla.php cache:clean
Symfony\Component\ErrorHandler\Error\ClassNotFoundError^ {#593
#message: """
Attempted to load class "JPlugin" from the global namespace.\n
Did you forget a "use" statement?
"""
#code: 0
#file: "./plugins/system/baforms/baforms.php"
#line: 14
trace: {
./plugins/system/baforms/baforms.php:14 {
require_once^
'
' class plgSystemBaforms extends JPlugin
' {
}
./libraries/src/Extension/ExtensionManagerTrait.php:217 { ...}
./libraries/src/Extension/ExtensionManagerTrait.php:160 { ...}
./libraries/src/Extension/ExtensionManagerTrait.php:99 { ...}
./libraries/src/Plugin/PluginHelper.php:232 { ...}
./libraries/src/Plugin/PluginHelper.php:192 { ...}
./libraries/src/Application/ConsoleApplication.php:255 { ...}
./cli/joomla.php:77 { ...}
}
}


Does anyone have an idea?

Thank you very much!!!

5 months 2 weeks ago #8

  • Artem's Avatar
  • Artem
  • Posts: 11342
Jürgen,

We did some changes in the system plugin, it should help you. Just install above

drive.google.com/file/d/1Tbsmay1qJ_HgtOf...F5L/view?usp=sharing

Let us know results :)

Regards,
Artem, Balbooa.com

5 months 2 weeks ago #9

  • Jürgen's Avatar
  • Jürgen
  • Posts: 2
Hello Artem,

what can I say...?

It works!

I have imported the files and tested my site. Frontend and backend are running.

The command "php81 cli/joomla.php cache:clean" no longer causes an error!!!

Thank you very much. Good job.

Regards
Juergen

5 months 1 week ago #10

  • Artem's Avatar
  • Artem
  • Posts: 11342
Juergen,

Okay, that's really great news. Let us know if you'll need any assistance :)

Regards,
Artem, Balbooa.com
Powered by Kunena Forum