Invalid argument supplied for foreach() in html-importer.php on line 1040
-
Good day! I use nginx 1.14 and php-fpm7
Single html page import work well, but if I try to import the html files from the folder then I get the zero result:HTML Importer
Importing HTML files…
ID Old path New path Title
All done. Have fun!there is an error in nginx error log:
2018/08/13 01:14:01 [error] 5167#5167: *5387 FastCGI sent in stderr: “PHP message: PHP Warning: Invalid argument supplied for foreach() in /home/astra/www/sitename/wp-content/plugins/import-html-pages/html-importer.php on line 1040” while reading upstream, client: ip, server: servername, request: “POST /wp-admin/admin.php?import=html&step=1 HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.0-fpm.sock:”, host: “hostname”, referrer: “https://siteadress/wp-admin/admin.php?import=html”
How i can resolve this problem? THank you!
- The topic ‘Invalid argument supplied for foreach() in html-importer.php on line 1040’ is closed to new replies.