Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mark

    (@markwolters)

    Hi,

    yes, Really Simple SSL is fully compatible with PHP 7.4.

    Thread Starter desean

    (@desean)

    Happy New Year!

    When enabling PHP 7.4, my site got inaccessible. When entering via recovery link, I got the following error in Plugin:

    Really Simple SSL
    Deactivate | Resume
    Lightweight plugin without any setup to make your site SSL proof
    
    Version 3.2.7 | By Rogier Lankhorst, Mark Wolters | View details
     This plugin failed to load properly and is paused during recovery mode.
    
    An error of type E_ERROR was caused in line 52 of the file /home/desean/wp-content/plugins/really-simple-ssl/class-server.php. Error message: Uncaught Error: Call to undefined function filter_var() in /home/desean/wp-content/plugins/really-simple-ssl/class-server.php:52 Stack trace: #0 /home/desean/wp-content/plugins/really-simple-ssl/class-server.php(32): rsssl_server->get_server() #1 /home/desean/wp-content/plugins/really-simple-ssl/class-admin.php(3310): rsssl_server->uses_htaccess() #2 /home/desean/wp-includes/class-wp-hook.php(288): rsssl_admin->create_form('') #3 /home/desean/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #4 /home/desean/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /home/desean/wp-admin/admin.php(170): do_action('admin_init') #6 /home/desean/wp-admin/index.php(10): require_once('/home/desean/ma...') #7 {main} thrown

    WordPress version 5.3.2
    Current theme: Twenty Twenty (version 1.1)
    Current plugin: Really Simple SSL (version 3.2.7)
    PHP version 7.4.0

    Any clue? Thanks.

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Hi @desean,

    Thanks for reporting. The filter_var function doesn’t seem to be deprecated in php 7.4, so not sure why this would show up on php 7.4 only.

    I came across this entry:
    https://stackoverflow.com/questions/11735538/call-to-undefined-function-filter-var
    If that is the cause it might not be related to php 7.4.

    I’ll run some additional tests to see if we missed something, and get back to you.

    Rogier

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Just ran another check on PHP 7.4, didn’t find any issues. I’d check the stackoverflow thread I mentioned earlier, it might be that you accidentally disabled a required module when you switched to PHP 7.4. Let me know if that helps!

    Thread Starter desean

    (@desean)

    Thank you for the additional checks.

    Check with my host and there appears to be an issue with how filter_var was compiled so it was redone and no issues now.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Compatibility with PHP 7.4’ is closed to new replies.