Impossible To Modify An Existing Page With Joomla 4 And Php 8.1 - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Impossible To Modify An Existing Page With Joomla 4 And Php 8.1

L

lamey

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

0
9 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #76766

Hi there,

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

-Thanks

0
L
lamey
Accepted Answer
3 years ago #76796

Well !

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

Thanks

0
L
lamey
Accepted Answer
3 years ago #76875

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.
0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #76886

Can you give me FTP access?

0
L
lamey
Accepted Answer
3 years ago #76934

Of course

0
L
lamey
Accepted Answer
3 years ago #76937

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"

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #76998

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

0
L
lamey
Accepted Answer
3 years ago #77020

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 !

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #77047

You are most welcome. Will you please spend some to write a review about our product and support quality? 

https://extensions.joomla.org/extension/sp-page-builder/

0