Please always enter the name of the template and the Joomla version and the live URL if available
Can not enter template options - tp_schule - J-4
Replied by mhp on topic Can not enter template options - tp_schule - J-4
Posted 6 months 3 weeks ago #34799
As stated in the error it's a PHP compile error and has nothing to do with the browser or a firewall.
So I guess the declaration of the class property is wrong and throws an error - at least in this PHP version:
should be declared as
The problem is, that this J-Installation is on a infrastructure of a university and I have only access to the J-Backend. So no FTP or hosting panel with file browser/manager to change the code.
So I guess the declaration of the class property is wrong and throws an error - at least in this PHP version:
Code:
public mixed $id = null;
should be declared as
Code:
public ?mixed $id = null;
The problem is, that this J-Installation is on a infrastructure of a university and I have only access to the J-Backend. So no FTP or hosting panel with file browser/manager to change the code.
by mhp
Please Log in or Create an account to join the conversation.
- joomlaplates
- Offline
- Moderator
- Posts: 8809
- Thank you received: 1732
Replied by joomlaplates on topic Can not enter template options - tp_schule - J-4
Posted 6 months 3 weeks ago #34800
Please update to PHP 8.x or use Astroid 2.6.x.
Astroid 3.x is running only on PHP 8.x
..
And its not a missing string coz before "mixed" shouldnt be a string.
Astroid 3.x is running only on PHP 8.x
..
And its not a missing string coz before "mixed" shouldnt be a string.
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
Last Edit:6 months 3 weeks ago
by joomlaplates
Last edit: 6 months 3 weeks ago by joomlaplates.
Please Log in or Create an account to join the conversation.
Replied by mhp on topic Can not enter template options - tp_schule - J-4
Posted 6 months 3 weeks ago #34802
Then I must have misinterpreted the error message and PHP documentation - apologies for that
With Astroid 2.6.x I can now edit the template options - thank you.
But the template itself no longer works (I guess because the latest template version is too new for the framework). After changing the template option, I had to reinstall 3.0.14 to get the site working again.
Aren't there mechanisms (preflight-script or similar) to prevent extensions that are incompatible with the PHP version from being installed at all?
However, I managed to do it. I only had to change the mobile menu for one template style. Too bad it turned into a two hour task (and it also took your time).
But all in all, great and fast support here - thank you very much.
Roger
With Astroid 2.6.x I can now edit the template options - thank you.
But the template itself no longer works (I guess because the latest template version is too new for the framework). After changing the template option, I had to reinstall 3.0.14 to get the site working again.
Aren't there mechanisms (preflight-script or similar) to prevent extensions that are incompatible with the PHP version from being installed at all?
However, I managed to do it. I only had to change the mobile menu for one template style. Too bad it turned into a two hour task (and it also took your time).
But all in all, great and fast support here - thank you very much.
Roger
by mhp
Please Log in or Create an account to join the conversation.
- joomlaplates
- Offline
- Moderator
- Posts: 8809
- Thank you received: 1732
Replied by joomlaplates on topic Can not enter template options - tp_schule - J-4
Posted 6 months 3 weeks ago #34804
Yes youre right.
But please update to PHP 8.x to fix all issues
But please update to PHP 8.x to fix all issues
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
Please Log in or Create an account to join the conversation.
Moderators: joomlaplates