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.
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.
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.
Best regards,
Toufiqur Rahman (Team Lead, Support)
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
Can you provide me administrator access of your site?
Locally it works fine. Might be it occurred for the SSL certificate.
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.
Yes, That was checked on my localhost.
But this is not working my life site.
What can i do now?
I told you that works on my local server. I would request you to create an staging site without SSL then check again. Thanks
when I restore this in localhost then it workin. but I want to load in live server. not localhost.
You need to contact your hosting provider. Your server blocked to load the resources of Page Builder. Thanks