Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    Getting the following error after migrating a fully updated WP 5.7 to PHP 8.0.3:

    [Sun Mar 28 01:24:11.065584 2021] [proxy_fcgi:error] [pid 102417] [client XXX.XXX.XXX.XXX:50561] AH01071: Got error '
    PHP message: PHP Warning:  Undefined array key "design-section" in /var/www/domain.ext/uat/htdocs/wp-content/plugins/fuse-social-floating-sidebar/inc/fuse_social_sidebar_scripts.php on line 149
    PHP message: PHP Warning:  Undefined array key "design-section" in /var/www/domain.ext/uat/htdocs/wp-content/plugins/fuse-social-floating-sidebar/inc/fuse_social_sidebar_scripts.php on line 161
    PHP message: PHP Warning:  Undefined array key "animation_on_hover" in /var/www/domain.ext/uat/htdocs/wp-content/plugins/fuse-social-floating-sidebar/inc/fuse_social_sidebar_scripts.php on line 169
    PHP message: PHP Warning:  Undefined array key "animation_on_hover" in /var/www/domain.ext/uat/htdocs/wp-content/plugins/fuse-social-floating-sidebar/inc/fuse_social_sidebar_scripts.php on line 192
    PHP message: PHP Warning:  Undefined array key "mobile" in /var/www/domain.ext/uat/htdocs/wp-content/plugins/fuse-social-floating-sidebar/inc/fuse_social_sidebar_scripts.php on line 438
    PHP message: PHP Warning:  Undefined array key "colorpicker" in /var/www/domain.ext/uat/htdocs/wp-content/plugins/fuse-social-floating-sidebar/inc/fuse_social_sidebar_scripts.php on line 461
    PHP message: PHP Warning:  Undefined array key "hover" in /var/www/domain.ext/uat/htdocs/wp-content/plugins/fuse-social-floating-sidebar/inc/fuse_social_sidebar_scripts.php on line 479

    Just tried migrating my fully updated WordPress 5.7 on PHP 8.0.3 and am getting the following error:

    [Sun Mar 28 00:50:19.283603 2021] [proxy_fcgi:error] [pid 101803] [client XXX.XXX.XXX.XXX:63891] AH01071: Got error 'PHP message: PHP Fatal error: Unparenthesizeda ? b : c ? d : eis not supported. Use either(a ? b : c) ? d : eora ? b : (c ? d : e)in /var/www/domain/uat/htdocs/wp-content/plugins/js_composer/include/classes/editors/class-vc-frontend-editor.php on line 644'

    Fixed it by changing the line 644:

    $host = isset( $s['HTTP_X_FORWARDED_HOST'] ) ? $s['HTTP_X_FORWARDED_HOST'] : isset( $s['HTTP_HOST'] ) ? $s['HTTP_HOST'] : $s['SERVER_NAME'];

    TO

    $host = isset( $s['HTTP_X_FORWARDED_HOST'] ) ? $s['HTTP_X_FORWARDED_HOST'] : ( isset( $s['HTTP_HOST'] ) ? $s['HTTP_HOST'] : $s['SERVER_NAME'] );

    However, still working on:

    PHP message: PHP Fatal error: Uncaught Error: Call to undefined function each() in /var/www/domain.ext/uat/htdocs/wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php:186\nStack trace:\n#0 /var/www/domain.ext/uat/htdocs/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php(770): Vc_Mapper->callElementActivities()\n#1 /var/www/domain.ext/uat/htdocs/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php(367): WPBMap::setElementSettings()\n#2 /var/www/domain.ext/uat/htdocs/wp-content/plugins/js_composer/include/classes/shortcodes/shortcodes.php(1428): WPBMap::getShortCode()\n#3 /var/www/domain.ext/uat/htdocs/wp-content/plugins/js_composer/include/helpers/helpers.php(1304): Vc_Shortcodes_Manager->getElementClass()\n#4 /var/www/domain.ext/uat/htdocs/wp-includes/shortcodes.php(343): vc_do_shortcode()\n#5 [internal function]: do_shortcode_tag()\n#6 /var/www/domain.ext/uat/htdocs/wp-includes/shortcodes.php(218): preg_replace_cal...', referer: https://uat.domain.ext/kancelaria-prawna-wroclaw/

    • This reply was modified 5 years, 2 months ago by davss.
    • This reply was modified 5 years, 2 months ago by davss.
    • This reply was modified 5 years, 2 months ago by davss.
    • This reply was modified 5 years, 2 months ago by davss.
    Thread Starter davss

    (@davss)

    Other plugins are updating just fine so did WP core. It happened when I tried to update plugins before WP core from 3.8.0 to 3.8.1.

    I reinstalled via ACP and it appears to be working fine now.

    Thread Starter davss

    (@davss)

    I’ve removed the code to get into ACP. During update it was hanging for over 15 minutes keeping my WP instance in maintenance mode. Then it simply stopped and broke ACP but fortunately the public front end became available.

Viewing 4 replies - 1 through 4 (of 4 total)