Remember me

Call to undefined method Joomla\CMS\Application\SiteApplication::isSite()

1 year 3 weeks ago #1

  • Janel's Avatar
  • Janel
  • Posts: 44
When upgrading Joomla site to Joomla 4 - the site broke. I enabled Debug and this is the error.
Please advise how to fix: northamptonpd.com/upgrade/
Thank you

Call to undefined method Joomla\CMS\Application\SiteApplication::isSite()
.../plugins/system/bagallery/bagallery.php:24

19 }
20
21 public function onAfterInitialise()
22 {
23 $app = JFactory::getApplication();
24 if ($app->isSite()) {
25 $path = JPATH_ROOT . '/components/com_bagallery/helpers/bagallery.php';
26 JLoader::register('bagalleryHelper', $path);
27 if (isset($_GET)) {
28 $url = $_SERVER;
29 $pos = strpos($url, 'fbclid');

1 year 3 weeks ago #2

  • Viacheslav's Avatar
  • Viacheslav
  • Posts: 28858
Hello,
Thank you for contacting us

You need to first update the gallery to the latest version and then update Joomla.
www.balbooa.com/blog/tips-and-tricks/how-to-update-to-joomla-4
For now, we recommend that you restore your website from a backup.

Regards,
Vyacheslav, Balbooa.com

1 year 3 weeks ago #3

  • Janel's Avatar
  • Janel
  • Posts: 44
I tried installing the update and got this error:

Warning
JInstaller: :Install: Error SQL Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
Extension Update: SQL error processing query: DB function failed with error number 1118
Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
SQL =

ALTER TABLE `#__bagallery_galleries` ADD `slide_amimation` varchar(255) NOT NULL DEFAULT 'ba-gallery-fade-animation';

Package Update: There was an error installing an extension: com_bagallery.zip

1 year 3 weeks ago #4

  • Viacheslav's Avatar
  • Viacheslav
  • Posts: 28858
As you can see in your post it describes how to solve the problem
You have to change some columns to TEXT or BLOBs

Regards,
Vyacheslav, Balbooa.com

1 year 3 weeks ago #5

  • Janel's Avatar
  • Janel
  • Posts: 44
I'm sorry, which database column am I supposed to be changing to TEXT exactly?

1 year 3 weeks ago #6

  • Viacheslav's Avatar
  • Viacheslav
  • Posts: 28858
Powered by Kunena Forum