• This plugin has issues with new versions of PHP as it uses mysql_real_escape_string, a now deprecated function.

    It’s a shame because the plugin itself is actually good (I had it running on an older test server).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Alexander, did you find a solution?

    Regards,
    Phil

    Thread Starter Alexander De Sousa

    (@alexdesousavl)

    Hi Phill,

    I didn’t have enough of a need for the plugin to do so, there are a few options if you really wanted to get it working (although I haven’t tested any of these):

    Use PHP 5.4
    mysql_real_escape_string only became deprecated in PHP 5.5.0, so running an older version of PHP could avoid that error.

    Contact the plugin author
    The issue here is really down the fact that the plugin hasn’t been updated since 2013, it’s a relatively easy fix if the author would like to release an update. It just so happens that PHP has moved along and this plugin hasn’t moved along with it.

    Modify the plugin to use mysqli_real_escape_string()
    Generally it’s never a good idea to modify a plugin as you can create incompatibilities with future releases or lose your changes the next time the plugin needs an update.

    However, in my opinion this plugin is unlikely to be updated again, if you’re competent with PHP, download the plugin and update all uses of the old mysql_real_escape_string() with the new mysqli_real_escape_string().

    In summary…
    Fixing this may get rid of the existing error – however, you might discover further errors along the way. You’re most likely to find that the plugin is actually incompatible with newer versions of WordPress (but that remains to be seen yet).

    Regards,
    Alex.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No longer works’ is closed to new replies.