Okay
  Public Ticket #1754326
PHP 7.2 Errors
Closed

Comments

  • infoscigeek started the conversation

    I'm running a PHP 7.2 compatibility check and getting these errors on your most current version of the plugin (Version 6.7.6) . Will these issues be addressed in the next update?


    FILE: /nas/content/staging/mssda/wp-content/plugins/LayerSlider/helpers/phpQuery.php
    ------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 12 WARNINGS AFFECTING 12 LINES
    ------------------------------------------------------------------------------------------------------------
     1042 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
     2091 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
     2098 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
     2113 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
     2119 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
     2142 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
     2148 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
     2153 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
     2166 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
     2179 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
     2219 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
     4759 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
    ------------------------------------------------------------------------------------------------------------

  • [deleted] replied

    Hello infoscigeek,

    Thank you for getting in touch with us. My name is Attila and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.

    First of all, we're sorry for the delayed response, we had a national holiday and were out of the office for a few days.

    LayerSlider is fully compatible with PHP 7.2. As you can see this check does not show any errors, only warnings and they are all the same. All it means that there might be a small change needed with future PHP versions, but there is no error at all. You do not have to worry about it.