Forum Support

Shape 5
March 28, 2024, 09:54:54 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Depreciated Method  (Read 1027 times)
ShawnTrent
Jr. Member
**
Offline Offline

Posts: 5



« on: May 16, 2017, 05:52:25 PM »

Looks like that PHP 7.0.18 has dedected a depreciated constructor in the Mail Chimp Module. Getting this notification even though the signup was successful.

DEPRECATED: METHODS WITH THE SAME NAME AS THEIR CLASS WILL NOT BE CONSTRUCTORS IN A FUTURE VERSION OF PHP; MCAPI HAS A DEPRECATED CONSTRUCTOR IN /HOME/SAGUAR79/PUBLIC_HTML/MODULES/MOD_S5_MAILCHIMP_SIGNUP/FILES/MCAPI.CLASS.PHP ON LINE 3 SUCCESS! CHECK YOUR EMAIL TO CONFIRM SIGN UP.
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: May 17, 2017, 12:18:57 PM »

Hello,

Do you have strict PHP warnings enabled? If so just disable them as this is more of a warning than an error as you can see it still works.
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Dragos01
Jr. Member
**
Offline Offline

Posts: 34



« Reply #2 on: July 04, 2017, 11:08:54 AM »

Hi,

Same error... got this message after error reporting set on developer mode. Else it got stuck at adding email adress. (error 500)

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; MCAPI has a deprecated constructor in /var/www/domains/hus-paulina.nl/www/modules/mod_s5_mailchimp_signup/files/MCAPI.class.php on line 3 Error: Something went wrong, please try again later.

I tried to set error reporting on none and stills shows up. Now i busy with my provider to set it into php.ini. Is there another sollution?
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #3 on: July 05, 2017, 01:29:35 PM »

Hello,

My fault, I read the first message too fast. I didn't see the entire class was deprecated. Digging into this it was done by MailChimp as they have a new 3.0 version of their API available now. We will update our module here shortly. Please check back within a few days.

Thanks,
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #4 on: July 11, 2017, 12:55:11 PM »

Ok so if you can PM me FTP and Joomla login details I should now be able to provide a fix for this error.
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Dragos01
Jr. Member
**
Offline Offline

Posts: 34



« Reply #5 on: July 11, 2017, 12:57:09 PM »

Can't you just upload the code and we fix it ourself? Or maybe update the module....
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #6 on: July 12, 2017, 10:25:18 AM »

I need to test in your environment with PHP7. I might have to create 2 versions of the module the current and one for PHP7. If I just update for PHP7 it will break the module for users not on this version. Really you can still just hide by turning of strict standards and it will work fine but if you can't do this then I would need to login in order to make a sure fix.
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.