When Update Then Page Builder Not Working - Question | JoomShaper

When Update Then Page Builder Not Working

S

Salman

SP Page Builder 2 months 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.

0
10 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 months ago #161530

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)

0
S
Salman
Accepted Answer
2 months ago #161532

I added those code this error are gone. but when I go to edit then it show this error. please see the screenshot https://prnt.sc/OnEomeA8DFRT

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 months ago #161536

Can you provide me administrator access of your site?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 months ago #161544

Locally it works fine. Might be it occurred for the SSL certificate.

https://prnt.sc/R7V-zc9DLhlc

0
S
Salman
Accepted Answer
2 months ago #161546

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.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 months ago #161548

Yes, That was checked on my localhost.

0
S
Salman
Accepted Answer
2 months ago #161550

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

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 months ago #161551

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

0
S
Salman
Accepted Answer
2 months ago #161552

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

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 months ago #161553

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

0