Impossible to modify an existing page with joomla 4 and php 8.1 - Forum | JoomShaper
Staff replied SP Page Builder

Impossible to modify an existing page with joomla 4 and php 8.1

Asked by lamey 4 years ago Last activity 4 years ago

Hi,
After the migration from joomla 3.10 to joomla 4, the access to pages is impossible : create or modify a page leads to an error : call to undefined method Joomla\CMS\Document\HtmlDocument::addScriptVersion().

Thank you for your help.

9 replies

Toufiq Senior Staff

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Please downgrade your PHP version 8.1.8 to 8.0.

-Thanks

lamey Asked this

Well !

I downgraded to php 7.4, and ... I got the same message !

Thanks

lamey Asked this

Hi,

Thank you for your answer, but it does not work with php 8.0 !

I can use the pages, but I cannot create or modify ...

Than you for your help.
Toufiq Senior Staff

Can you give me FTP access?

lamey Asked this

Of course

lamey Asked this

I have found the reason :
The error comes from the JCE editor:

"Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/brevonni/components/com_jce/editor/libraries/classes/browser.php on line 451"

Toufiq Senior Staff

After disable the JCE editor does it work or not. Please let me know. If it works after disabling the JCE editor, then you need to contact with the JCE support. Thanks

lamey Asked this

Hi,

When disabling JCE, SP Page Builder Pro works very well.

I have upgraded JCE to 2.9.28 version, and it is all right.

Everything is OK now !

Log in to reply.