Title: Issues copying a website &#8211; Function create_function() is deprecated
Last modified: May 31, 2023

---

# Issues copying a website – Function create_function() is deprecated

 *  Resolved [krazygyal](https://wordpress.org/support/users/krazygyal/)
 * (@krazygyal)
 * [3 years ago](https://wordpress.org/support/topic/issues-copying-a-website-function-create/)
 * Hi,
 * I need to transfer w website to a new host but I don’t have access to FTP to 
   the original hosting server.
 * I am using Updraft plus to export files, etc. I am able to see the site on the
   new host but, I keep getting the following errors:
 *     ```wp-block-code
       Deprecated: Function create_function() is deprecated in /var/www/vhosts/elpunto-goettingen.de/elpunto-goettingen.de/httpdocs/wp-content/themes/bridge/widgets/relate_posts_widget.php on line 86
   
       Deprecated: Function create_function() is deprecated in /var/www/vhosts/elpunto-goettingen.de/elpunto-goettingen.de/httpdocs/wp-content/themes/bridge/widgets/latest_posts_menu.php on line 104
       ```
   
 * Can someone help me fix this please? After deactivating all plugins these two
   errors still remain.
    -  This topic was modified 3 years ago by [krazygyal](https://wordpress.org/support/users/krazygyal/).
    -  This topic was modified 3 years ago by [krazygyal](https://wordpress.org/support/users/krazygyal/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fissues-copying-a-website-function-create%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [bcrodua](https://wordpress.org/support/users/bcrodua/)
 * (@bcrodua)
 * [3 years ago](https://wordpress.org/support/topic/issues-copying-a-website-function-create/#post-16786459)
 * Hi,
 * I suggest you contact the developers of your theme as the issue is coming from
   the theme.
 * Thanks,
 * Bryle
 *  Thread Starter [krazygyal](https://wordpress.org/support/users/krazygyal/)
 * (@krazygyal)
 * [3 years ago](https://wordpress.org/support/topic/issues-copying-a-website-function-create/#post-16790882)
 * I found the issue. My server only had php 7.4.33 and the original server was 
   set to 7.4.11. So, I downgraded to 7.3. I’ll end up changing the theme later 
   because it is too outdated.
    -  This reply was modified 3 years ago by [krazygyal](https://wordpress.org/support/users/krazygyal/).

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

The topic ‘Issues copying a website – Function create_function() is deprecated’ 
is closed to new replies.

 * ![](https://ps.w.org/updraftplus/assets/icon-256x256.jpg?rev=1686200)
 * [UpdraftPlus: WP Backup & Migration Plugin](https://wordpress.org/plugins/updraftplus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/updraftplus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/updraftplus/)
 * [Active Topics](https://wordpress.org/support/plugin/updraftplus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/updraftplus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/updraftplus/reviews/)

## Tags

 * [migrate](https://wordpress.org/support/topic-tag/migrate/)
 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 2 replies
 * 2 participants
 * Last reply from: [krazygyal](https://wordpress.org/support/users/krazygyal/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/issues-copying-a-website-function-create/#post-16790882)
 * Status: resolved