Dentalia has now been updated to 2.3 and a major update for Recycle is coming soon. We hope you enjoy the new features! Thanks for your patience!

Okay
  Public Ticket #4571148
Slider Revolution Killing the Ability to edit my site
Open

Comments

  •  1
    dranastassova started the conversation

    Hi guys, everytime I try editing my website, I get this slider revolution error:


    Fatal error: Uncaught ValueError: strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) in /home/wwwden696/public_html/wp-content/plugins/revslider/includes/functions.class.php:387 Stack trace: #0 /home/wwwden696/public_html/wp-content/plugins/revslider/includes/functions.class.php(387): strrpos('', '.', -1) #1 /home/wwwden696/public_html/wp-content/plugins/revslider/includes/slide.class.php(2345): RevSliderFunctions->check_valid_image(false) #2 /home/wwwden696/public_html/wp-content/plugins/revslider/includes/slider.class.php(2278): RevSliderSlide->get_overview_image_attributes('gallery') #3 /home/wwwden696/public_html/wp-content/plugins/revslider/admin/includes/functions-admin.class.php(212): RevSliderSlider->get_overview_data(Object(RevSliderSlider), Array) #4 /home/wwwden696/public_html/wp-content/plugins/revslider/admin/includes/functions-admin.class.php(128): RevSliderFunctionsAdmin->get_slider_overview() #5 /home/wwwden696/public_html/wp-content/plugins/revslider/admin/includes/shortcode_generator/shortcode_generator.class.php(216): RevSliderFunctionsAdmin->get_short_library() #6 /home/wwwden696/public_html/wp-content/plugins/revslider/admin/includes/shortcode_generator/shortcode_generator.class.php(22): RevSliderShortcodeWizard::add_scripts() #7 /home/wwwden696/public_html/wp-includes/class-wp-hook.php(341): RevSliderShortcodeWizard::enqueue_scripts('post.php') #8 /home/wwwden696/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array) #9 /home/wwwden696/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #10 /home/wwwden696/public_html/wp-admin/admin-header.php(123): do_action('admin_enqueue_s...', 'post.php') #11 /home/wwwden696/public_html/wp-admin/edit-form-advanced.php(418): require_once('/home/wwwden696...') #12 /home/wwwden696/public_html/wp-admin/post.php(206): require('/home/wwwden696...') #13 {main} thrown in /home/wwwden696/public_html/wp-content/plugins/revslider/includes/functions.class.php on line 387

    There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums.




    From what I understand the problem is: Theme: Dentalia 2.3 – a relatively recent theme version, and generally OK with modern WordPress/PHP. Slider Revolution: 6.2.22 – released before the PHP 8.1/8.2 wave; users report it breaks as soon as PHP is upgraded to 8.x and works again when they drop back to 7.4/8.0. PHP: 8.2.31 – fully supported by WordPress 6.6 but too strict for old RevSlider code that doesn’t guard strrpos() correctly How do I resolve this?


  •  574
    OrionThemes replied

    Hi,

    Please try updating the Revolution slider:

    Delete the Revolution slider plugin from your WordPress. Then you will see a notification, asking if you want to install it. Clicking on the install button will download a new version of Revolution slider.
    If you don't see notification, you can find "Install Plugins" menu item on your dashboard and you can install it from there.  

    Also make sure PHP is updated to at least 7.4 version. 8.4 should work too.

    Kind regards,

    Andrej

  •  1
    dranastassova replied

    Thank you so much, that worked! Have a lovely Sunday