Title: Deprecated constructor in PHP
Last modified: March 16, 2019

---

# Deprecated constructor in PHP

 *  Resolved [skipperjohn](https://wordpress.org/support/users/skipperjohn/)
 * (@skipperjohn)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/deprecated-constructor-in-php/)
 * I have just migrated my WP site and managed to solve the various problems on 
   the way. Then at WP’s direction I upgraded my PHP to 7.01, now the following 
   error appears on the Log-In page, and on the Dashboard, as well as at the top
   of the published page (except Home):
 * Deprecated: Methods with the same name as their class will not be constructors
   in a future version of PHP; WP_Categories_to_Tags has a deprecated constructor
   in /data/11/0/134/20/949835/user/980166/htdocs/wpsilverfly/wp-content/plugins/
   wpcat2tag-importer/wpcat2tag-importer.php on line 31
 * I am not sure how to solve this and would appreciate some direction.
    Many thanks
   John
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdeprecated-constructor-in-php%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 2 months ago](https://wordpress.org/support/topic/deprecated-constructor-in-php/#post-11321033)
 * According to [https://wordpress.org/plugins/wpcat2tag-importer/](https://wordpress.org/plugins/wpcat2tag-importer/),
   that plugin hasn’t been updated in 4 years and seems to be abandoned by its developers.
   You should disable/remove the plugin.
 * You can do that by deleting the directory `wp-contents/plugins/pcat2tag-importer/
   via FTP or your hosting control panel’s file manager app.
 *  Thread Starter [skipperjohn](https://wordpress.org/support/users/skipperjohn/)
 * (@skipperjohn)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/deprecated-constructor-in-php/#post-11321408)
 * Many thanks, done and PROBLEM SOLVED!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Deprecated constructor in PHP’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [skipperjohn](https://wordpress.org/support/users/skipperjohn/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/deprecated-constructor-in-php/#post-11321408)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
