#138247 Fresh installation will crash if ACF aktiv
Gilbert Kossek 1 month ago
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
#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(‘…’)
Can you help me with that?
GilbertAlexander Hutsol Support Team 1 month ago
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.
Regards.PrivateGilbert Kossek 1 month agoThis reply has been marked as private.Alexander Hutsol Support Team 1 month ago
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 1 month ago
Looks 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
GilbertAmir Rather Support Team 1 month ago
You’re most welcome 🙂