Support » Plugin: YITH WooCommerce Affiliates » Error 500

  • Resolved genweb


    I have the same problem seen here:

    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 1 year, 4 months ago by genweb.
Viewing 6 replies - 1 through 6 (of 6 total)
  • 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?


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

    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


    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


    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.