• Resolved otticaseo

    (@otticaseo)


    Hi, is there an updated version compatible with PHP version 7.3? because on my website, I have a PHP error because some PHP functions are deprecated.

    Thanks and good job

    • This topic was modified 4 years, 8 months ago by otticaseo.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there

    Plugin is tested on a daily basis on a machine running PHP 7.3.5, with error reporting enabled for every level of error, and we cannot find any evident issue
    Could you please paste the error codes that you see, so we can check?

    Thank you

    Hello, I also would also like confirmation that this plugin is compatible with PHP 7.3 because my SiteGround server scan is telling me it is not. Here is the error code below that they detected. I’m not sure if the errors mentioned actually fix the issues as they are stated. Can you please let me know and confirm compatibility. Thank you:

    Unfortunately, YITH WooCommerce Wishlist plugin is not compatible with our recommended 7.3 PHP version
    FOUND 5 ERRORS AFFECTING 5 LINES
    —————————————————————————————–
    70 | ERROR | Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter “$args” was changed on line 64.
    88 | ERROR | Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter “$args” was changed on line 82.
    112 | ERROR | Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter “$args” was changed on line 106.
    290 | ERROR | Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter “$args” was changed on line 284.
    308 | ERROR | Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter “$args” was changed on line 302.

    Plugin Author YITHEMES

    (@yithemes)

    Hi @casart2

    As I said, plugin is fully tested with version 7.3.5 of PHP, and it shouldn’t cause any trouble
    The lines this automatic system is hihglighting are located in our plugin framework, and make part of a module that is never used by wishlist plugin

    Finally, I’d like to highlight that, even if the tool reports func_get_args as an error, this function is fully supported by PHP (including latest 7.4 version) and we use it according to its specifications, so in any case I suppose this is more like a false positive

    Thanks for confirming while checking the error code.

    Plugin Author YITHEMES

    (@yithemes)

    You’re welcome

    If you enjoy our plugin, please take a moment to leave us a review; it would be very important for us ??

    Since we have no answer from the OP, I’m going to close this topic

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