#138247 Fresh installation will crash if ACF aktiv
Landing › Forums › JupiterX WordPress Theme › Fresh installation will crash if ACF aktiv
-
AuthorPosts
-
Gilbert Kossek 7 months, 3 weeks ago
Hi,
when I try to install Jupiter X on a Plesk Server. The WordPress website will give me a critical error, as soon as I activate the necessary ACF Plugin.
There is only the Core Plugin running when I try to activate the ACF Plugin.
I actually have several Jupiter X pages on this Server running. Never had this problem so far.
I will get the Following Error Message from WordPress:
Ein Fehler vom Typ E_ERROR wurde in der Zeile 37 der Datei /var/www/vhosts/hhpat.ad-venturesgraz.at/httpdocs/wp-content/themes/jupiterx/lib/admin/custom-fields/post-types/options/main.php verursacht. Fehlermeldung: Uncaught ValueError: Unknown format specifier “$” in /var/www/vhosts/hhpat.ad-venturesgraz.at/httpdocs/wp-content/themes/jupiterx/lib/admin/custom-fields/post-types/options/main.php:37
Stack trace:
#0 /var/www/vhosts/hhpat.ad-venturesgraz.at/httpdocs/wp-content/themes/jupiterx/lib/admin/custom-fields/post-types/options/main.php(37): sprintf()
#1 /var/www/vhosts/hhpat.ad-venturesgraz.at/httpdocs/wp-content/themes/jupiterx/lib/api/custom-fields/class.php(79): require_once(‘…’)
#2 /var/www/vhosts/hhpat.ad-venturesgraz.at/httpdocs/wp-includes/class-wp-hook.php(303): JupiterX_Custom_Fields->register_fields()
#3 /var/www/vhosts/hhpat.ad-venturesgraz.at/httpdocs/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#4 /var/www/vhosts/hhpat.ad-venturesgraz.at/httpdocs/wp-includes/plugin.php(470): WP_Hook->do_action()
#5 /var/www/vhosts/hhpat.ad-venturesgraz.at/httpdocs/wp-settings.php(578): do_action()
#6 /var/www/vhosts/hhpat.ad-venturesgraz.at/httpdocs/wp-config.php(77): require_once(‘…’)
#7 /var/www/vhosts/hhpat.ad-venturesgraz.at/httpdocs/wp-load.php(50): require_once(‘…’)
#8 /var/www/vhosts/hhpat.ad-venturesgraz.at/httpdocs/wp-admin/admin.php(34): require_once(‘…’)
#9 /var/www/vhosts/hhpat.ad-venturesgraz.at/httpdocs/wp-admin/plugins.php(10): require_once(‘…’)
#10 {main}
thrownCan you help me with that?
Best regards
GilbertAlexander Hutsol Support Team 7 months, 3 weeks agoHello,
Please provide us with wp-admin and FTP (FTP host, FTP user, FTP password, FTP port) login details to your site in the private reply to check the issue.
Thank you.
Regards.
Alexander Hutsol Support Team 7 months, 3 weeks agoHello,
Thank you for the provided information.
The issue was caused by PHP version 8. To fix it I edited the code in the wp-content/themes/jupiterx/lib/admin/custom-fields/post-types/options/main.php file in line 35.
Please check the site now.
Regards.
Gilbert Kossek 7 months, 3 weeks agoLooks good 🙂
Unfortunately I didn’t have time to work on the page today, but I think I will be fine.
Thanks for your support and merry chrismas
Gilbert
-
AuthorPosts