-
Search Results
-
Hello,
There is a change to functions.php between 5.5 and 5.6 versions, around line(s): 179 to 184.
The new code about language setup seems to break the site on upgrade between versions, I have fixed the problem by changing the code as below. Now the site loads the backend with my change after upgrade by simply reloading this url: https://staging.sheilds.org/wp-admin/update-core.phpHere’s the new lines with a simple fix, I placed above:
avia_lang_setup(); //Replaced this line and commented out the below lines, as was breaking site on upgrade from 5.5 to 5.6 /*if( did_filter( 'after_setup_theme' ) ) { avia_lang_setup(); }*/Here’s the error I received:
Fatal error: Uncaught Error: Call to undefined function did_filter() in /pathtoinstall/wp-content/themes/enfold/functions.php:179 Stack trace: #0
/pathtoinstall/wp-settings.php(555): include() #1
/pathtoinstall/wp-config.php(121): require_once(‘/var/www/vhosts…’) #2
/pathtoinstall/wp-load.php(50): require_once(‘/var/www/vhosts…’) #3
/pathtoinstall/wp-admin/admin.php(34): require_once(‘/var/www/vhosts…’) #4
/pathtoinstall/wp-admin/index.php(10): require_once(‘/var/www/vhosts…’) #5
{main} thrown in /pathtoinstall/wp-content/themes/enfold/functions.php on line 179If this can be rectififed that would be great!
Thanks
Hi,
I just bought Enfold and pasted the token into the support section to make support accessible but it said it’s not a valid purchase key…
This is my token:
(see private field)I urgently need help with a website that is not working with fatal errors to do with the Enfold Child theme and php, can someone please login to the site and make sense of what is going on?
Thanks,
LisaHi, I updated Enfold from version 4.8.5 to version 5.5 today and got a critical error – the start page was blank and simply showed the error. The error message in the mail was:
Ein Fehler vom Typ E_COMPILE_ERROR wurde in der Zeile 49 der Datei /usr/local/www/apache24/noexec/—website-name-replaced—see private content for website adresse–/website/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/chart/chart.php verursacht. Fehlermeldung: Access level to avia_sc_chart::shortcode_insert_button() must be public (as in class aviaShortcodeTemplate)
The website is unfortunately still running on PHP 7.4.30. I have contacted the hoster to ask him to update to 8.1
The WordPress version is 6.2 and all plugins are up to dateCan you tell from the error message why this is happening?
Thanks a lot in advance.Best regards,
Sarai got an older iPad min 3 with iOS 12.5.7
there are blank areas if images are animated ( like slide-shows, masonries etc. even the new before-after Image is only seen as before image )i placed a script to get the iOS Version as class on html – so i can hamper things – but how to avoid any animation for that case?
function detect_ios_version(){ ?> <script type="text/javascript"> window.addEventListener("DOMContentLoaded", function () { function iOSversion() { if (/iP(hone|od|ad)/.test(navigator.platform)) { var v = (navigator.appVersion).match(/OS (\d+)_(\d+)_?(\d+)?/); return [parseInt(v[1], 10), parseInt(v[2], 10), parseInt(v[3] || 0, 10)]; } } const ver = (iOSversion() || []); if (ver[0] <= 13) { // alert('This is running iOS '+ver); document.documentElement.className += ' ios-less13 '; } }); </script> <?php } add_action('wp_head', 'detect_ios_version');

















