help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
[SOLVED]Joomla 3, empty page in the backend, PHP 8.1.
Re: Joomla 3, empty page in the backend, PHP 8.1.
2 years 20 hours ago
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
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.
Re: Joomla 3, empty page in the backend, PHP 8.1.
2 years 19 hours ago
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.
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.
Please Log in or Create an account to join the conversation.
Re: Joomla 3, empty page in the backend, PHP 8.1.
2 years 19 hours ago
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
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.
Re: Joomla 3, empty page in the backend, PHP 8.1.
2 years 18 hours ago
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
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.
Re: Joomla 3, empty page in the backend, PHP 8.1.
2 years 8 hours ago
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
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.
Time to create page: 0.414 seconds