When Update then Page Builder not working - Forum | JoomShaper
Staff replied SP Page Builder

When Update then Page Builder not working

Asked by Salman 2 years ago Last activity 2 years ago

I update my site joomla 3 to 4.
when I edit page by SP builder then it show error.
https://prnt.sc/7Nay3Lsx5lvA

please solve this as soon as possible.

1 reply

Toufiq Senior Staff

Hi there,

Thank you for reaching out, and I apologize for any inconvenience caused by this oversight. Please follow the instructions.

Go to the file location & find out the line of code

templates/yamas/error.php

<?php $preset = (isset(json_decode($params->get('preset', (object) ['preset' => 'preset1']))->preset) && json_decode($params->get('preset'))->preset) ? json_decode($params->get('preset'))->preset : 'preset1'; ?>

Replace with this code

<?php
            $preset = $params->get('preset', json_encode(['preset' => 'preset1']));

            if (!empty($preset->preset))
            {
                $preset = $preset->preset;
            }
        ?>

or download the error.php file and replace it on this file location.

offline.php.zip

Best regards,

Toufiqur Rahman (Team Lead, Support)

Toufiq Senior Staff

Can you provide me administrator access of your site?

Salman Asked this

May be ssl not problem. can you please check when I want to edit then content page show 404 Page with some error. https://prnt.sc/pzUTT8fHGdgF

All other function is working Fine.

Toufiq Senior Staff

Yes, That was checked on my localhost.

Salman Asked this

But this is not working my life site.
What can i do now?

Toufiq Senior Staff

I told you that works on my local server. I would request you to create an staging site without SSL then check again. Thanks

Salman Asked this

when I restore this in localhost then it workin. but I want to load in live server. not localhost.

Toufiq Senior Staff

You need to contact your hosting provider. Your server blocked to load the resources of Page Builder. Thanks

Log in to reply.