• Resolved Giancarlo Silva

    (@giancarlozer0)


    I wish to report this issue in the WordPress Importer plugin. I just installed it in my WordPress blog with debug mode activated and this error message appeared:

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WP_Import has a deprecated constructor in D:\DevDevDev\WebServer\htdocs\blog\wp-content\plugins\wordpress-importer\wordpress-importer.php on line 38

    Here is a screenshot of this error.

    Thanks.

    PS.: Sorry about my poor English.

    https://www.ads-software.com/plugins/wordpress-importer/

Viewing 9 replies - 1 through 9 (of 9 total)
  • I receive the same errors along with others when importing content in Desktop Server. I’m not sure if the plugin is in active development. It hasn’t been updated in over a year.

    But… it still technically works and I use it all the time.

    And just like that they released a new version ??

    Thread Starter Giancarlo Silva

    (@giancarlozer0)

    Great! I just received the update too!

    Thank you, developers! =)

    With 0.6.3 I am also getting another deprecation notice:

    PHP Notice: wp_get_http is <strong>deprecated</strong> since version 4.4.0! Use WP_Http instead

    It’s being used in wordpress-importer.php line 991:

    $headers = wp_get_http( $url, $upload['file'] );

    I think I get the same issue as davemac and the media import fails:

    Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in /home/nicho182/public_html/wp-includes/functions.php on line 3707

    how is this solved?

    I see the same issue right now on a fresh install of wp 4.7 and importer.

    Yeah, still deprecated.

    I’m trying to move some sites from wordpress.com to www.ads-software.com. I assumed wp to wp would be easy but I’m baffled. One site imported some but not all pages and posts. I’m now trying the next site and I get all this:

    Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in /home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on line 3828

    Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in /home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on line 3828

    Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in /home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on line 3828

    Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in /home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on line 3828

    Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in /home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on line 3828

    Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in /home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on line 3828

    Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in /home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on line 3828

    Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in /home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on line 3828

    Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in /home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on line 3828

    Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in /home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on line 3828

    Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in /home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on line 3828

    Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in /home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on line 3828

    I’m not deeply technical and don’t know what to do now. ??

    Welcome to WordPress 4.7.3

    I am working my way through the Themes documentation for developers. While setting up a development environment it is suggested that you import test data.
    You guessed it, I am having the same error noted above.

    ***

    Import WordPress

    Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in /var/www/html/wp-includes/functions.php on line 3829

    Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in /var/www/html/wp-includes/functions.php on line 3829

    Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in /var/www/html/wp-includes/functions.php on line 3829

    Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in /var/www/html/wp-includes/functions.php on line 3829

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Deprecated code in WordPress Importer’ is closed to new replies.