• Resolved eveslage

    (@eveslage)


    getting this error after the last update. we can’t login to our backend. I had to deactivate Smart Variations Images plugin manually.

    this error message pops out in the error log:

    [Wed Aug 03 10:00:40.145460 2022] [proxy_fcgi:error] [pid 19461] [client xxxxx] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function str_ends_with() in /var/www/vhosts/xxx/httpdocs/wp-content/plugins/smart-variations-images-premium/includes/class-smart-variations-images.php:404\nStack trace:\n#0 /var/www/vhosts/xxx/httpdocs/wp-content/plugins/smart-variations-images-premium/includes/class-smart-variations-images.php(82): Smart_Variations_Images->run_reduxMigration()\n#1 /var/www/vhosts/xxx/httpdocs/wp-content/plugins/smart-variations-images-premium/svi.php(129): Smart_Variations_Images->__construct()\n#2 /var/www/vhosts/xxx/httpdocs/wp-includes/class-wp-hook.php(303): run_smart_variations_images(”)\n#3 /var/www/xxx/httpdocs/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)\n#4 /var/www/vhosts/xxx/httpdocs/wp-includes/plugin.php(470): WP_Hook->do_action(Array)\n#5 /var/www/vhosts/xxx/httpdocs/wp-settings.php(441): do_action(‘plugins_load…’

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi, I got also the same error it’s because the php version, the function str_ends_with() existe on php 8, so if your php version is < 8 you should update it or install an old version of the plugin that supporte php7 (Exp Version 5.1.12 works with php 7).

    Plugin Author David Rosendo

    (@drosendo)

    Hi,

    Damm. I will change the function to support php 7.4

    Will release the update in a few hours.

    Cheers,

    Plugin Author David Rosendo

    (@drosendo)

    I have released v5.2.1.

    Although it should work with PHP7.4 as for minimum requirements for current
    WordPress versions.

    Cheers,

    Thread Starter eveslage

    (@eveslage)

    Thanks für the quick fix

    Plugin Author David Rosendo

    (@drosendo)

    Hey,

    No problem and thansk for the feedback and support!

    Cheers

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘getting fatal error after last update’ is closed to new replies.