Support » Plugin: YITH WooCommerce Affiliates » Error 500

  • Resolved genweb

    (@genweb)


    I have the same problem seen here:

    https://wordpress.org/support/topic/error-500-104/

    The plugin works nice but suddenly stopped working after some tests.
    I discovered that my hosting provider renamed that file to: class.yith-wcaf-affiliate-handler.php_eval_post_infected

    Any malware false positive maybe?

    Thanks for your amazing work!

    • This topic was modified 7 months ago by genweb.
Viewing 6 replies - 1 through 6 (of 6 total)
  • genweb

    (@genweb)

    After talking with the hosting provider support, they say that the file is using malware functions and they will not disable the protection, so I am not able to use the plugin.

    I was inspecting every line of the file and it seems that the function

    doubleval( $_POST[‘rate’]

    in line 1940 may be the problem.

    Any suggestion to replace that line for another -non eval- function?

    Thanks!

    genweb

    (@genweb)

    More info about this false positive, it seems that a lot of people experience it.

    https://github.com/waja/maldetect/issues/17
    https://github.com/rfxn/linux-malware-detect/issues/215
    https://github.com/nbs-system/php-malware-finder/issues/51

    My next test will be replacing doubleval by floatval, probably the wrong antimalware regex should not false positive “floatval”.

    24 hours after replacing doubleval by floatval: it seems that the malware scan is no longer renaming the file, so I think this solves the problem.

    Plugin Author YITHEMES

    (@yithemes)

    Hello there,

    I hope you are doing well!

    We have made this adjustment (replacing doubleval() by floatval()) in the plugin.
    This change will be available in the next update of the plugin.

    Have a nice day!

    Thats cool.
    It is still working fine on my side after doing that change.
    Thank you!

    Plugin Author YITHEMES

    (@yithemes)

    Hello there,

    hope you are doing well!

    Thank you for notifying these small mistakes.
    We really appreciate your requests.

    I’m going to resolve this topic. If you have any doubt, please, don’t hesitate to contact us, we will be happy to help you.

    Have a nice day!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error 500’ is closed to new replies.