• Hello everyone,
    I am happy to announce that I have solved the problem with PHP 8 by modifying some code lines of the file “html-importer.php”. If anyone needs this file you can download it here.

    Of course you need to make a backup of the original file first. Greetings from Italy.

    • This topic was modified 1 month, 3 weeks ago by angzicc.
Viewing 5 replies - 1 through 5 (of 5 total)
  • with one file which you have updated, it will not work.

    i changed all 3 files and its working with single file, it works as it designed.

    for directory it gives some error, i cannt make out error from WordPress files or from the Plugin,

    if anyone can fix for directory i can email them all the files.

    Thread Starter angzicc

    (@angzicc)

    Hi, I didn’t quite understand your answer. My modification on that file allows it to work perfectly on my server with php 8.3, I didn’t have to modify the other two files you’re talking about. I even import 500 files at once without errors.

    In any case, can you put a link here to download them so I can see what you modified? Thanks, otherwise feel free to send me an email message angzicc at hotmail dot com

    • This reply was modified 1 month, 2 weeks ago by angzicc.

    Hi Angzicc, thanks for your time. But I am also getting a error with your html-importer.php.
    I am getting a
    deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in html-importer.php on line 257.
    Fatal error: Uncaught Error: Attempt to assign property “post_title” on array in html-importer.php:642 Stack trace: #0

    I am not a programmer .. thanks in advance .. I love the HTML Import 2 Plugins.

    Thread Starter angzicc

    (@angzicc)

    I noticed that there is a report in debug.log:

    PHP Deprecated: ?mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in /home/emridrit/public_html/wp-content/plugins/import-html-pages/html-importer.php on line 257

    I have tried several solutions but have not been able to get them to work properly so far.

    While this does not break the plugin, is this a warning that it could become a problem in future versions of PHP. But I keep telling you that on my server and php 8.3 the plugin works perfectly.

    I am in contact with the creator of the plugin to find a solution.

    buthonstly

    (@buthonstly)

    Thanks angzicc,
    I have got the html-importer to import a directory. It still showing a few errors, when trying to import images. But it works for me. Thanks to authors for this wonderful plugin.
    https://html-importer.3ws.de/html-importer.zip

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.