I am getting the following error on my localhost drupal 7 site on the update.php page. I was trying to update a different module, and was surprised to see this error since the module appears to be working fine:

Comments

njacobson created an issue. See original summary.

pyxio’s picture

same issue for me. did you find a solution?

njacobson’s picture

I'm pretty sure my live site is running on PHP 5.5. My localhost is running on 7.0. I was able to switch my localhost (WAMP) to use 5.6 and the error went away. I guess as long as our live host doesn't upgrade to some newer version of PHP, we'll be OK.

I'm going to go ahead and leave my localhost at 5.6 since that's a more accurate "test" server for my live site.

summit’s picture

Hi,

Anyone with a solution on Drupal 7 latest version? I had to disable this module before this error went away..

Thanks a lot in advance for your reply.
greetings, Martijn

lazzyvn’s picture

same isssue for me PHP 7 and ubuntu server 16

Deprecated function : Methods with the same name as their class will not be constructors in a future version of PHP; mime_mail has a deprecated constructor dans include_once() (line 107 in /Volumes/data/www/mysite/sites/all/modules/contrib/backup_migrate/includes/crud.inc).

Deprecated function : Methods with the same name as their class will not be constructors in a future version of PHP; backup_file has a deprecated constructor dans require_once() (line 487 in /Volumes/data/www/mysite/sites/all/modules/contrib/backup_migrate/backup_migrate.module).
bmango’s picture

Same issue for me also, using php7.

shahidbscs’s picture

is there any solution? I'm also using ubuntu 16.

I also notice some time there is error 'Internal Server Error' and title bar say "732", not sure is it due to this module or not.
I just setup backup every hour and this 'Internal Server Error' almost happening in same interval.

shahidbscs’s picture

MikeTheBoat’s picture

This error does not seem to be fixed by the patch in #8

Anonymous’s picture

Same problem here, guys. One hosting company I use for clients upgraded to PHP 7.1.6 and since then I am getting the same error.
Should I wait and hope that the maintainers are so kind to help or do you think it is better to just ask the hosting company to tune it down to PHP 5.6 again?

And also, a huge shout-out to the guys behind the module. It is great!

ETA: I used the patch in #5 here

Worked like a charm!

couturier’s picture

Status: Active » Postponed (maintainer needs more info)

Please try upgrading to the new 7.x-3.2 version released September 27, 2017, and see if this resolves your issue. Yes, I'd recommend asking the host to go back to the previous PHP version if that worked for you. The previous maintainers of Backup and Migrate have ceased their support of the project, and a new maintainer is focusing on the port to D8 going forward, so resources are very limited for the 7.x branch.

keithn’s picture

Long version: I was also getting this error on all my sites running PHP 7. Upgrading to B&M version 7.x-3.2 fixed it.

Short version: awesome!

alex andrascu’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

javed shinwari’s picture

Version: 7.x-3.1 » 7.x-3.5
Component: Miscellaneous » User interface
Assigned: Unassigned » javed shinwari
Category: Bug report » Support request
Issue summary: View changes
Priority: Normal » Critical
Issue tags: +Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; views_display has a deprecated constructor in include_once() (line 3478 of C:\xampp\htdocs\tb_sirate_starter\includes\bootstrap.inc).
javed shinwari’s picture

i am facing this is issue when i am updating my site to a newer version plz help me in resolving this issue

couturier’s picture

@javed shinwari Did you mean to file this issue against Views or the Backup and Migrate module?

So this was fixed in 7.x-3.2 but you are having the issue in 7.x-3.5?

greggles’s picture

Issue tags: -Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; views_display has a deprecated constructor in include_once() (line 3478 of C:\xampp\htdocs\tb_sirate_starter\includes\bootstrap.inc).
ivnish’s picture

Assigned: javed shinwari » Unassigned