• Resolved Nico

    (@nico23)


    I am the Author of ARVE, and I am using the WP Interactivity API for my settings page. Your plugin is causing the following errors when activated. I am seeing these JS errors in the browser console on my settings page.

    An import map is added after module script load was triggered.
    admin.php:1 Uncaught TypeError: Failed to resolve module specifier "@wordpress/interactivity". Relative references must start with either "/", "./", or "../".

    Something that your plugin does cause this to fail, making my entire settings page unusable. I am only using WP native APIs and I do not think I am doing anything wrong. I would appreciate it if you can look into it. It works as soon as I deactivate your plugin. This was originally found out by a customer, and I just confirmed this.

    I also get these errors on your tools settings page. The output of these might be related. Tested on WP nightly with PHP 8.3, but my customer for sure did use stable WP and probably a lower PHP version.

    ty: stdClass::$index in?/var/www/html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Database.php?on line?379

    Warning: Undefined property: stdClass::$collation in?/var/www/html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Database.php?on line?381

    Warning: Undefined property: stdClass::$data in?/var/www/html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Database.php?on line?384

    Warning: Undefined property: stdClass::$index in?/var/www/html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Database.php?on line?385

    Warning: Undefined property: stdClass::$name in?/var/www/html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Database.php?on line?375

    Warning: Undefined property: stdClass::$name in?/var/www/html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Database.php?on line?377

    Warning: Undefined property: stdClass::$data in?/var/www/html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Database.php?on line?378

    Warning: Undefined property: stdClass::$index in?/var/www/html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Database.php?on line?379

    Warning: Undefined property: stdClass::$collation in?/var/www/html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Database.php?on line?381

    Warning: Undefined property: stdClass::$data in?/var/www/html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Database.php?on line?384

    Warning: Undefined property: stdClass::$index in?/var/www/html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Database.php?on line?385

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • lvcz

    (@lvcz)

    Yes, my website has also encountered the same problem.

    lvcz

    (@lvcz)

    There is compatibility issue with All In One SEO Pack effecting ARVE. With the AIO-SEO plugin active the “Embed Video (ARVE)” button will not work in Classic Editor. Please contact the AIO-SEO plugin support / support for pro users if they can fix this issue.

    Plugin Support MD. Sakib Khandaker

    (@numbnerd14)

    Hi @nico23 and @lvcz,

    Thank you so much for reaching out and reporting the compatibility issue between AIOSEO and the ARVE plugin!

    Our development team is now aware of this and has already opened an internal issue to investigate further.

    We’ll keep you updated and get back to you as soon as we have more information or a fix for this.

    Thanks for your patience, and feel free to reach out if you have any other questions in the meantime!

    Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @nico23,

    Two of our developers have troubleshooted the issue on our end and found that it occurs due to an uncompiled script that is being loaded inside of your plugin, namely advanced-responsive-video-embedder/vendor/nextgenthemes/wp-shared/includes/WP/Admin/settings.js.

    If you inspect that file, you’ll see that file imports dependencies from the WordPress interactivity library and is uncompiled. They tried compiling the file for testing purposes and that seemed to fix the issue where your settings page doesn’t load correctly.

    Do you mind taking a look to see if you can reproduce this? If you have any questions, please let us know.

    Hi @nico23 , I was also in touch with AIO SEO regarding this issue based on message in WP backend after last update and they referred me back to you:

    “We have troubleshooted this issue and found that this is not in fact an issue on our end, but instead inside of the ARVE plugin. The error occurs due to an uncompiled script inside the ARVE plugin.”

    So, I hope that this script will be fixed and that we will be able to use ARVE plugin Embed button again with the Classic Editor in WP.

    Thank you!

    Thread Starter Nico

    (@nico23)

    @arnaudbroes your two developers have absolutely no clue what they are talking about and this seems like a cheap attempt to shift blame away.

    I just wasted a lot of time compiling that script the proper way, and it solves absolutely nothing. Exactly what I expected when I read your claim that it’s supposedly “in fact” not an issue with your plugin. The script does not need to be compiled and was intentionally NOT compiled by me. All a proper compile with wp-scripts does is minimize the script and possibly make some code run on older browsers, but that was not the issue here.

    Explain to me how compiling supposedly fixes this. Did your devs compile the script, I doubt it and if they did, they did compile it wrongly! wp-scripts does NOT compile the dependency into the script itself, but purposefully keeps the import in place because WordPress writes the import map into the HTML. And I strongly assume your plugins messes the import map up, that is what the error message suggests.

    My plugin works perfectly fine with every single theme and plugin my users (40k) and me have tested, except this one. So this is in fact your plugin that is causing this. I have tried with WP_DEBUG=false yet that would suppress the errors if your plugin that may break the HTML. With wp-now when I try to set WP_DEBUG to false activating your plugin gives a lot of database errors.

    Any new development on this issue, @arnaudbroes and @nico23 ?

    Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @dmarin, I responded here with a beta build that you can try out if you like.

    Thank you for your reply, @arnaudbroes ! @nico23, have you possibly tested the beta AIOSEO build, yet?

    Thread Starter Nico

    (@nico23)

    @dmarin Yes, I have tested the beta now and it works. Please let me know when this landed on wp.org.

    Thanks, @nico23 ! Looking forward to the final AIOSEO version with fix, @arnaudbroes !

    Plugin Author arnaudbroes

    (@arnaudbroes)

    We’re aiming for our 4.7.7 release with this one (December 12) since the next one is already undergoing QA at the moment.

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