• Resolved Harm10

    (@harm10)


    I just used the latest version of Theme Unit Test supplied by WordPress itself (codex) and got some warnings when importing:
    Undefined variable: _menu_item_type
    Type: PHP Notice
    Line: 890
    File: /myurl/wp-content/plugins/wordpress-importer/wordpress-importer.php
    (this occurs 3 times also in line 888 and 886)

    Array to string conversion
    Type: PHP Notice
    Line: 884
    File: /myurl/wp-content/plugins/wordpress-importer/wordpress-importer.php

    wp_get_http is deprecated since version 4.4.0! Use WP_Http instead.
    Type: PHP Notice
    Line: 3831
    File: /myurl/wp-includes/functions.php

    I am using PHP 7.1

    Can somebody analyse and correct?

    [ No bumping please. ]

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

The topic ‘Warnings when importing Theme Unit Test’ is closed to new replies.