Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC:

Joomla 3, empty page in the backend, PHP 8.1. 2 months 3 days ago #30120

Good Morning,
if the problem persists, you can send me a PM with an admin access. I will do nothing than look and I will write you after.
Jojo

Please Log in or Create an account to join the conversation.

Joomla 3, empty page in the backend, PHP 8.1. 2 months 3 days ago #30121

  • mia
  • mia's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 1
thanks so much for your two mails.

I was on PHP 7.4. And I cannot go back because I canceled the support on the server and this cannot be reactivated.

When I put the error report on maximum, I get the following message in the frontend.
Warning: Undefined variable $pageclass in /homepages/32/d65710309/htdocs/Segel/templates/freia/
/homepages/32/d65710309/htdocs/Segel/templates/freia/

Warning: Undefined variable $pageclass in /homepages/32/d65710309/htdocs/Segel/templates/freia/
site " role="document">
I do not think this is the reason for the trouble.

When I try to open an event or category on the backend, I still get the blank page. In get the following error message at the end of the source code

<b>Fatal error</b>: Array and string offset access syntax with curly braces is no longer supported in <b>/homepages/32/d65710309/htdocs/Segel/components/com_jce/editor/libraries/classes/</b> on line <b>451</b><br />

I am attaching the file that causes the trouble.

thanks so much for helping.
Attachments:

Please Log in or Create an account to join the conversation.

Joomla 3, empty page in the backend, PHP 8.1. 2 months 3 days ago #30122

  • mia
  • mia's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 1
Dear Jojo12,

I deactivated JCE now and then everything works. I can open the categories and events again. Do you have any idea how I can change the

many greetings, Mia

Please Log in or Create an account to join the conversation.

Joomla 3, empty page in the backend, PHP 8.1. 2 months 3 days ago #30123

Hi, is this JCE?
when I search for:
"Array and string offset access syntax with curly braces is no longer supported"
I get:


It's really simple to fix the issue, however keep in mind that you should fork and commit your changes for each library you are using in their repositories to help others as well.

Let's say you have something like this in your code:

$str = "test";
echo($str{0});

since PHP 7.4 curly braces method to get individual characters inside a string has been deprecated, so change the above syntax into this:

$str = "test";
echo($str[0]);

did you update "jce"

Without looking into it I can only say, that JEM 2.3.5 works fine on a clean Joomla! 3.10.11. with PHP 8.1
The following user(s) said Thank You: mia

Please Log in or Create an account to join the conversation.

Joomla 3, empty page in the backend, PHP 8.1. 2 months 2 days ago #30125

  • mia
  • mia's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 1
Dear Jojo12,

after I updated JCE, it worked. I am sorry that I did not see this.

Thanks for all your help.
All the best, Mia
The following user(s) said Thank You: jojo12

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.487 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......