Php math operation stopped working in plugin

Php math operation stopped working in plugin

by Francois Couillard -
Number of replies: 1

I modified the Stripe plugin file enrol.html to show taxes. It worked fine for days until I updated the plugin. Now every simple math operation ($val1 * $val2) doesn't interpret (it seems it return an empty string).

So I deleted the plugin and installed back the previous version I had on backup.

And now it's doing the same thing : simple math operations still don't work. Even with files that worked perfectly well yesterday.

The paypal plugin with calculated taxes is still working as usual.

What is happening and how can I fix this?

Average of ratings: -
In reply to Francois Couillard

Re: Php math operation stopped working in plugin

by Francois Couillard -

Fixed it. Had something to do with comments (//). I just removed the comments and it works as previously.