End of Support for Joomla 3 - Forum closed
Update template jp_perfect to tp_perfect
Hi.
I have a site created with jp_perfect that I would like to upgrade to tp_perfect in order to use PHP 8 and Joomla! 4.
I faithfully followed the steps provided on this page.
www.joomlaplates.com/forum/important-new...templates.html#30357
I also had to disable other extensions before switching to Joomla! 4, as suggested by the upgrade system.
Now the site receives this error: The server returned a "500 - Whoops, looks like something went wrong."
In the file error_log there is the following error:
Thu Oct 13 16:15:05.198470 2022] [proxy_fcgi:error] [pid 78880:tid 139826098677504] [client xx.xx.xxx.xxx:xxxxx] AH01071: Got error 'PHP message: PHP Warning: Use of undefined constant ASTROID_JOOMLA_VERSION - assumed 'ASTROID_JOOMLA_VERSION' (this will throw an Error in a future version of PHP) in /var/www/vhosts/yoweer.com/testuno.yoweer.com/templates/tp_perfect/html/com_content/article/default.php on line 24PHP message: PHP Warning: include_once(/var/www/vhosts/yoweer.com/testuno.yoweer.com/components/com_content/helpers/route.php): failed to open stream: No such file or directory in /var/www/vhosts/yoweer.com/testuno.yoweer.com/templates/tp_perfect/html/com_content/article/default.php on line 27PHP message: PHP Warning: include_once(): Failed opening '/var/www/vhosts/yoweer.com/testuno.yoweer.com/components/com_content/helpers/route.php' for inclusion (include_path='.:/opt/plesk/php/7.4/share/pear') in /var/www/vhosts/yoweer.com/testuno.yoweer.com/templates/tp_perfect/html/com_content/article/default.php on line 27PHP message: PHP Warning: Use of undefined constant ASTROID_JOOMLA_VERSION - assumed 'ASTROID_JOOMLA_VERSION' (this will throw an Error in a future version of PHP) in /var/www/vhosts/yoweer.com/testuno.yoweer.com/templates/tp_perfect/html/com_content/article/default.php on line 30', referer: testuno.yoweer.com/lo-studio/profilo-e-storia
What can I do to fix it?
But above all I should redo the site from scratch?
Thanks!
I have a site created with jp_perfect that I would like to upgrade to tp_perfect in order to use PHP 8 and Joomla! 4.
I faithfully followed the steps provided on this page.
www.joomlaplates.com/forum/important-new...templates.html#30357
I also had to disable other extensions before switching to Joomla! 4, as suggested by the upgrade system.
Now the site receives this error: The server returned a "500 - Whoops, looks like something went wrong."
In the file error_log there is the following error:
Thu Oct 13 16:15:05.198470 2022] [proxy_fcgi:error] [pid 78880:tid 139826098677504] [client xx.xx.xxx.xxx:xxxxx] AH01071: Got error 'PHP message: PHP Warning: Use of undefined constant ASTROID_JOOMLA_VERSION - assumed 'ASTROID_JOOMLA_VERSION' (this will throw an Error in a future version of PHP) in /var/www/vhosts/yoweer.com/testuno.yoweer.com/templates/tp_perfect/html/com_content/article/default.php on line 24PHP message: PHP Warning: include_once(/var/www/vhosts/yoweer.com/testuno.yoweer.com/components/com_content/helpers/route.php): failed to open stream: No such file or directory in /var/www/vhosts/yoweer.com/testuno.yoweer.com/templates/tp_perfect/html/com_content/article/default.php on line 27PHP message: PHP Warning: include_once(): Failed opening '/var/www/vhosts/yoweer.com/testuno.yoweer.com/components/com_content/helpers/route.php' for inclusion (include_path='.:/opt/plesk/php/7.4/share/pear') in /var/www/vhosts/yoweer.com/testuno.yoweer.com/templates/tp_perfect/html/com_content/article/default.php on line 27PHP message: PHP Warning: Use of undefined constant ASTROID_JOOMLA_VERSION - assumed 'ASTROID_JOOMLA_VERSION' (this will throw an Error in a future version of PHP) in /var/www/vhosts/yoweer.com/testuno.yoweer.com/templates/tp_perfect/html/com_content/article/default.php on line 30', referer: testuno.yoweer.com/lo-studio/profilo-e-storia
What can I do to fix it?
But above all I should redo the site from scratch?
Thanks!
by Ferriero
Please Log in or Create an account to join the conversation.
- Administrator
- Offline
- Moderator
- Posts: 708
- Thank you received: 115
Replied by Administrator on topic Update template jp_perfect to tp_perfect
Posted 2 years 2 months ago #31341
Use the Debug Call Stack, to find the extension, wich ist not j4-ready:
forum.joomla.de/thread/6467-fehler-finde...ug-modus-call-stack/
forum.joomla.de/thread/6467-fehler-finde...ug-modus-call-stack/
Please Log in or Create an account to join the conversation.
Replied by Ferriero on topic Update template jp_perfect to tp_perfect
Posted 2 years 2 months ago #31352
Thank you!This is the message:Attempted to load class "Framework" from namespace "Astroid".
Did you forget a "use" statement for another namespace?
I attach some screenshots
Did you forget a "use" statement for another namespace?
I attach some screenshots
by Ferriero
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 Update template jp_perfect to tp_perfect
Posted 2 years 2 months ago #31354
Download and install the Astroid again.
www.joomlaplates.com/login/download-file...52Fastroid_2_6_1.zip
www.joomlaplates.com/login/download-file...52Fastroid_2_6_1.zip
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