Call To Undefined Method Joomla\CMS\Application\SiteApplication::getConfig() - Question | JoomShaper

Call To Undefined Method Joomla\CMS\Application\SiteApplication::getConfig()

Kenan Pirmamedov

Kenan Pirmamedov

SP Page Builder 8 months ago

Hello.

After updating PageBuilder 5.5.0, my site stopped working and the message appears:

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

Please, help me to resolve this problem.

0
37 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 8 months ago #183002

Hi there,

Thank you for reaching out, and I apologize for any inconvenience caused by this oversight. Tell me your PHP version.

Best regards,

Toufiqur Rahman (Team Lead, Support)

0
Kenan Pirmamedov
Kenan Pirmamedov
Accepted Answer
8 months ago #183011

Hi Toufiq,

PHP 8.0.30

0
RS
Ronald Sedlaczek - STINGL
Accepted Answer
8 months ago #183016

Dear Support Team, I get the exact same error after updating:

"CALL TO UNDEFINED METHOD JOOMLA\CMS\APPLICATION\SITEAPPLICATION::GETCONFIG()"

Our website is now down: stingl-klavier.at

Joomla!-Version 3.10.12 Stable PHP-Version 8.2.25-bookworm.0

Thank you for your kind assistance.

0
Kenan Pirmamedov
Kenan Pirmamedov
Accepted Answer
8 months ago #183017

I also have Joomla!-Version 3.10.12 Stable PHP. Reverting to the old version of PageBuilder does not help anymore.

0
RS
Ronald Sedlaczek - STINGL
Accepted Answer
8 months ago #183018

Yes, I tried reverting, did not help me either.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 8 months ago #183024

If you are using PHP 8.0, Please use 8.1 minimu. If it doesn't help, Please provide me Joomla administrator access to check the issue. Thanks

0
Kenan Pirmamedov
Kenan Pirmamedov
Accepted Answer
8 months ago #183026

unfortunately 8.1 does not help

0
RS
Ronald Sedlaczek - STINGL
Accepted Answer
8 months ago #183028

Hi, We are using PHP 8.2. I will send your our admin access.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 8 months ago #183033

Site URL, Please. Thanks

0
Kenan Pirmamedov
Kenan Pirmamedov
Accepted Answer
8 months ago #183034
0
Toufiq
Toufiq
Accepted Answer
Senior Staff 8 months ago #183036

I have checking your issue. You are using Joomla 3 and you should use the Joomla latest version. Cause, Joomla 3 is out of support.

-1
Toufiq
Toufiq
Accepted Answer
Senior Staff 8 months ago #183037

@Ronald Sedlaczek - STINGL

Please share your site URL.

0
RS
Ronald Sedlaczek - STINGL
Accepted Answer
8 months ago #183040
0
Kenan Pirmamedov
Kenan Pirmamedov
Accepted Answer
8 months ago #183042

Before this idiotic update everything worked perfectly, how can I fix it and get it back?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 8 months ago #183043

We are working on it. Allow us time.

0
RS
Ronald Sedlaczek - STINGL
Accepted Answer
8 months ago #183045

Thank you!

0
RS
Ronald Sedlaczek - STINGL
Accepted Answer
8 months ago #183047

P.S. I know we are on joomla 3, and we are going to update it within the next 2 months. In the meantime, we need a working site (which was fine, until the latest update!)

1
Kenan Pirmamedov
Kenan Pirmamedov
Accepted Answer
8 months ago #183055

I fully support! If this update is not supported by the system, why does it appear among those available for update.

1
Toufiq
Toufiq
Accepted Answer
Senior Staff 8 months ago #183056

Please check now.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 8 months ago #183057

Ronald Sedlaczek - STINGL

Please check now.

1
RS
Ronald Sedlaczek - STINGL
Accepted Answer
8 months ago #183059

Dear Toufiq, this is amazing support - how did you do this? Thank you!

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 8 months ago #183062

Here is solved package. We will release it soon.

https://drive.google.com/file/d/1EYFY8fWaORlegFXDhLCKBIXrOVB0ABmU/view

1
Kenan Pirmamedov
Kenan Pirmamedov
Accepted Answer
8 months ago #183058

The site works! Thank you for the promptness! It was fantastic!

1
RS
Ronald Sedlaczek - STINGL
Accepted Answer
8 months ago #183060

Just for your information: Our Website is still on Joomla3, as most of our pages are built with JSN Pagebuilder. As this company closed, and there are no further updates, I need to rebuild all the old pages with your Pagebuilder. After that, I will update to Joomla 5.

0
Kenan Pirmamedov
Kenan Pirmamedov
Accepted Answer
8 months ago #183063

I would switch to the new version of Joomla myself, but unfortunately the new versions do not have language support for the Azerbaijani language. For this reason, I am forced to work in Joomla 3.

0
RS
Ronald Sedlaczek - STINGL
Accepted Answer
8 months ago #183085

Dear Toufiq, Though most of the sites work now, I still found some errors:

"0 CALL TO A MEMBER FUNCTION GETPARAMS() ON NULL"

This happens when I try to open some sites like: https://www.stingl-klavier.at/index.php?option=com_sppagebuilder&view=page&id=15

If I use the preview button in the page builder, I get the same error. BUT if I open the side via menu link (front-end), it opens fine.

Thanks again for your support.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 8 months ago #183162

You are most welcome! We appreciate your feedback and are delighted to hear that you're satisfied with our service.

To officially close this forum post, mark it as accepted. If you have any more questions or need further assistance in the future, please don't hesitate to reach out to us.

As for writing a review about our product and support quality, we would greatly appreciate it! Your feedback helps us improve and serves as a valuable reference for others. Please take a moment to share your thoughts about your experience with our product and the support you received. Your input is valuable to us and the community. Thank you in advance for your time and support.

Joomla Extension Directory

JED.png

TrustPilot

Trust-Pilot.png

We're here to assist you with any further questions or requests you may have. Once again, thank you for choosing our product and for being a part of our community.

Best regards,

Toufiqur Rahman

Team Lead, Tech Support (JoomShaper)

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 8 months ago #183118
1
RS
Ronald Sedlaczek - STINGL
Accepted Answer
8 months ago #183150

I really have to express, that I am deeply impressed by your support service! Thanks!

0
G
Grégory
Accepted Answer
8 months ago #183220

Hi, with the last patch (3) I still had a blank page for whatever the page.

Fatal error: Declaration of JoomShaper\SPPageBuilder\DynamicContent\Model::offsetExists(JoomShaper\SPPageBuilder\DynamicContent\mixed $offset): bool must be compatible with ArrayAccess::offsetExists($offset) in /administrator/components/com_sppagebuilder/dynamic-content/Model.php on line 419

I'm with joomla 3.10.12 with PHP 7.4.33 The issue is related to PHP 8's type declarations in the ArrayAccess interface implementation. Fix is to modify the Access interface methods (offsetGet, offsetSet, offsetUnset) by removing the 'mixed' type hint from their parameters.

So in Model.php I 've changed to :

    public function offsetExists($offset): bool
    {
        return isset($this->item->$offset);
    }

    public function offsetGet($offset): mixed
    {
        return $this->item->$offset;
    }

    public function offsetSet($offset, $value): void
    {
        $this->item->$offset = $value;
    }

    public function offsetUnset($offset): void
    {
        unset($this->item->$offset);
    }

And now it's ok

But still can't acces SP Page Builder Administration (500 error) Regards

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 8 months ago #183264

Could you kindly grant me access to your Joomla administrator area so that I can investigate the issue you're experiencing? Prior to providing access, please ensure that you have backed up your site. Additionally, it's important to note that providing login credentials is entirely voluntary on your part; we respect your decision either way. However, if you do choose to share the login details, it would greatly expedite the resolution process. Thank you for your cooperation.

0
G
Grégory
Accepted Answer
8 months ago #183526

Hi Toufiq,

I will, but for now the :

Fatal error: Declaration of JoomShaper\SPPageBuilder\DynamicContent\Model::offsetExists(JoomShaper\SPPageBuilder\DynamicContent\mixed $offset): bool must be compatible with ArrayAccess::offsetExists($offset) in /administrator/components/com_sppagebuilder/dynamic-content/Model.php on line 419

Is not fix in SP PB 5.5.1 so blank page remain on front side. PHP 7.4.33

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 8 months ago #183527

Please make sure your PHP version is 8.1.

0
G
Grégory
Accepted Answer
8 months ago #183530

Nope,

three of my website are still under joomla 3.10.12, and needs PHP 7.4.33

You just need to apply the fix that I've provided.

If not, I'll stay with SP PB 5.4.6 for those

What we are missing here is a pop-up to warn us that we need to upgrade PHP first, as stated in the SPPB PRO technical requirements.

Regards

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 8 months ago #183586
0
G
Grégory
Accepted Answer
8 months ago #183600

Yes already check. I'll stay with SP PB 5.4.6 for those J3

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 8 months ago #183601

Okay :)

0