Home Forums Air WordPress Theme Can’t import Demo Data – PHP Fatal Error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #21344
    asmrct
    Participant
    Purchased
    Supported

    Hello,

    On a new WordPress (5.4.1), I just installed the theme but I can’t import the demo data.

    I either tried to import the xml file or click or on “Import demo data”.

    In the error PHP file, I have :
    [Thu May 21 22:31:05.761880 2020] [php7:warn] [pid 18178] [client 78.218.214.94:55377] PHP Warning: Invalid argument supplied for foreach() in /home/marion/wp-content/themes/air-theme/functions/class/class-ux-importer.php on line 202, referer: https://marion-thealet.com/wp-admin/themes.php?page=theme-option
    [Thu May 21 22:31:05.763732 2020] [php7:error] [pid 18178] [client 78.218.214.94:55377] PHP Fatal error: Uncaught Error: Call to a member function children() on null in /home/marion/wp-content/themes/air-theme/functions/theme/theme-import.php:79\nStack trace:\n#0 /home/marion/wp-includes/class-wp-hook.php(287): airtheme_import_xmldata(”)\n#1 /home/marion/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)\n#2 /home/marion/wp-includes/plugin.php(478): WP_Hook->do_action(Array)\n#3 /home/marion/wp-content/themes/air-theme/functions/class/class-ux-importer.php(125): do_action(‘import_start’)\n#4 /home/marion/wp-content/themes/air-theme/functions/class/class-ux-importer.php(73): WP_Import->import_start(‘../wp-content/t…’)\n#5 /home/marion/wp-content/themes/air-theme/functions/theme/theme-import.php(1110): WP_Import->import(‘../wp-content/t…’)\n#6 /home/marion/wp-includes/class-wp-hook.php(287): airtheme_theme_import_ajax(”)\n#7 /home/marion/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)\n#8 /home/marion/wp-includes/plugin.php(478): WP_Hook->do_action(Array)\n#9 /home/marion/wp-a in /home/marion/wp-content/themes/air-theme/functions/theme/theme-import.php on line 79, referer: https://marion-thealet.com/wp-admin/themes.php?page=theme-option

    PHP is version 7.2.

    Could you help me ?

    #21349
    SeaTheme
    Keymaster
    Purchased

    Hi,

    I checked on my testing server just now, I didn’t reproduce this issue.
    ps: my PHP version is 7.3, but I don’t think 7.2 would cause this error

    Please make sure install/activate the 3 plugins( https://www.dropbox.com/s/d86f6fq09ovye3w/qq20200522-123752.jpg?dl=0 ), disable other plugins, try to import again:
    ——————————–

    update 0523:
    Fixed:
    Disable the FTP box( refer to https://www.hongkiat.com/blog/update-wordpress-without-ftp/ )

    Regards!

    SeaTheme – SeaTheme.netTwitterFacebook

    • This reply was modified 2 weeks, 2 days ago by SeaTheme.
    • This reply was modified 2 weeks, 1 day ago by SeaTheme.
    • This reply was modified 2 weeks, 1 day ago by SeaTheme.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Join Newsletter(FREE)

Subscribe to our newsletter to receive news & updates. We promise to not spam you, super promise!