Jump to content

Preventative Maint in Recaptcha/recaptchalib.php


TAV1702

Recommended Posts

Unless google comes out with a quick fix, here is a fix for an error you are, not a matter of if but when, going to see it.

PLEASE RESEARCH THIS FIRST!!!!! DO NOT USE UNLESS YOU ARE SURE! I WILL NOT BE RESPONSIBLE FOR YOUR SECURITY OR WEBSITE.

I am not a pro. I just read this on stackoverflow and it worked.

line 42 reads:

function ReCaptcha

It needs to be :

public function __construct

to fix this: Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ReCaptcha has a deprecated constructor in C:\wamp\www\phpvms\core\lib\recaptcha\recaptchalib.php on line 42

That error is a result of running phpvms on php 7 and mysql 5.7 So far everything else is working. I bet a dime to a dozne doughnuts I install modules and it fizzles out like there is no tomorrow.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...