• Resolved Aharon

    (@spaceling)


    We noticed the following PHP Deprecation messages occasionally written to our debug.log and we are sharing them here in case they may be useful for your plugin maintenance and improvement. Our environment is Advanced Iframe Pro on WP 6.9.1 and PHP 8.4.17. One message concerns utf8_encode on line 1235. The other concerns kses and appears shortly afterward. (We are assuming the latter message is likely related to the former.) Thank you very much for your helpful plugin.

    [09-Feb-2026 16:47:05 UTC] PHP Deprecated:  Function utf8_encode() is deprecated since 8.2, visit the php.net documentation for various alternatives in /home/varadyne/public_html/opensiddur/wp-content/plugins/advanced-iframe/advanced-iframe.php on line 1235
    [09-Feb-2026 16:47:15 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/varadyne/public_html/opensiddur/wp-includes/kses.php on line 2018
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author mdempfle

    (@mdempfle)

    Hi,

    Which version of advanced iframe you are using? The latest version does not contain utf8_encode anymore. I removed this already quite a while ago.

    So simply update to the latest version.

    The 2nd one is not from advanced iframe.

    Best regards, Michael

    Thread Starter Aharon

    (@spaceling)

    The version we have installed is Version 2025.2 and we hope we haven’t missed an update. Here are lines 1234 and 1235 from the code block in advanced-iframe.php triggering the message:

            if ($version_info === 0) {
    $version_info_array = json_decode(utf8_encode($result), true);
    Thread Starter Aharon

    (@spaceling)

    Michael,

    Perhaps you can roll the changes you’ve made in Advanced Iframe into Advanced Iframe Pro? But let me know if we should transition from Advanced Iframe Pro over to Advanced Iframe — and thank you.

    Plugin Author mdempfle

    (@mdempfle)

    Hi,

    Advanced iframe and Advanced iframe pro are both available in version 2025.10.

    Actually the pro version will always released earlier.

    So why do you not simply update? When you are still on CodeCanyon please got into the plugin and follow the instructions to migrate your license and also get the latest pro version.

    Best regards, Michael

    Thread Starter Aharon

    (@spaceling)

    The version I downloaded from CodeCanyon says that it is version 2025.2. This is the version number in both the readme and in the advanced-iframe.php file. Perhaps there is an issue with what version CodeCanyon is offering for download. Here are two screenshots: the first of the ZIP folder contents as downloaded today via CodeCanyon, and the second of advanced-iframe.php

    https://www.dropbox.com/scl/fi/er44t1fljrqi4ez3gnk5w/sshot-79.png?rlkey=8d91agbc1i2h862b7m2pzcben&dl=1

    https://www.dropbox.com/scl/fi/voifc5r5hsmp626v0nt2u/sshot-80.png?rlkey=zes8vih484ofw4erxy1thllvh&dl=1

    • This reply was modified 3 months, 3 weeks ago by Aharon. Reason: Advanced Iframe Pro, CodeCanyon
    • This reply was modified 3 months, 3 weeks ago by Aharon.
    Plugin Author mdempfle

    (@mdempfle)

    Please read my last message again.

    The CodeCanon version can be upgraded for free to Freemius where you can get the latest version.
    Go to the plugin to the options tab and follow the instructions there.

    I do not offer a new CodeCanyon version anymore because they take over 70% on each sale.

    Thread Starter Aharon

    (@spaceling)

    Thank you for your patience. I understand now what you wrote earlier by going into the plugin for the “options tab” to migrate our license.

    Plugin Author mdempfle

    (@mdempfle)

    If you have any issues at migration please let me know. All your settings are in the DB or in the shortcode. So you will not loose anything. Make sure to go over the migration guide as a folder name has changed.

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

You must be logged in to reply to this topic.