• Resolved Pix & Hue

    (@pixandhue)


    Hello! I have used this plugin in my WordPress themes for the last few months, and everything was running very smoothly. I really enjoyed the convenience of the “One Click.” Since this plugin has been updated again, I have seen a huge drop in the effectiveness of the import features.

    I have seen a very significant increase in the number of customers who are no longer able to use the “One Click” feature. For many people, it spins and spins and nothing is ever imported. For a smaller number of people, they cannot use the manual import either. This seems to be true for both Elementor data and also regular WordPress blog posts and pages.

    When I recommend customers switch over to the WordPress Importer plugin, everything works fine. Nothing about my import files has changed from when the plugin worked well for the vast majority of customers. If this is the new way, I am afraid I will have to abandon this plugin as it is creating a very frustrating experience, when it is supposed to make everything simpler.

    Is there anything you can recommend to improve performance? Or anything that you can rollback to the earlier versions of this plugin? Thank you!

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Gregor Capuder

    (@capuderg)

    Hi @pixandhue,

    there are a lot of factors that can cause issues with demo import (mainly server limitations).

    It would be really helpful if users that are experiencing these issues could enable WP Debug and its logging feature (https://www.ads-software.com/support/article/debugging-in-wordpress/) and run the import. Then report the errors logged in the debug file here.

    Any info on what is causing the issue would be great, so we can try to fix it.

    They could also downgrade to version 2.5.2 of our plugin and see if that resolves the issue for them.

    Are you maybe using any importer filters in your plugin, that alter the importing functionality?

    We recently added/fixed the support for Elementor imports and if you are using some filters to modify the data on import, it could cause issues.

    Take care!

    Thread Starter Pix & Hue

    (@pixandhue)

    Hi – Thanks for your quick response and willingness to help, I appreciate it! This issue seems to affect about 50% of customers since the plugin has been updated. Before, maybe 5% had issues. It was generally a security error that could be resolved with manual import in every instance. It is a very big change in the number of customers having issues, but it is not everyone.

    Unfortunately, I am not able to recreate the issue on my own server. I will work to find someone who is willing and able to access the log file to try to get you more information. The plugin seems to get stuck somewhere, and never resolve itself.

    And could you be more specific about the importer filters? Do you mean from the plugin? I am using:
    add_filter – pt-ocdi/disable_pt_branding
    add_filter – pt-ocdi/import_files
    add_action – pt-ocdi/after_import

    The XML files were created with Tools > Export, and I know they were stable and working before the plugin was updated. Thanks for your help!

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi @pixandhue,

    it looks like you are not using any special import filters/actions that could cause issues…

    Yes, please try to get as much info as possible. So we can reproduce the issue and then resolve it.

    Also, ask your clients where they are hosting and if possible the PHP info or WP site health server info would be nice to have.

    I just tried to import an Elementor theme a few days back and everything worked OK on my hosting…

    Take care!

    Thread Starter Pix & Hue

    (@pixandhue)

    Hi again – thanks for your help and patience! I am in the middle of moving, and trying to find someone to help me out (while also moving) took a bit of time. This is just one example, I can continue to collect more data, as needed.

    On the first attempt at “One Click” download from a remote file, I got the 403 forbidden error. On the second attempt of manual import, the “Importing please wait” message shows endlessly. It never times out. I waited about 10 minutes (it’s a small file, just 96kb), and refreshed the page.

    I briefly saw a generic Error(0) message from the plugin before the page refreshed. When I check the plugin txt file in the media library, it says “The import files were successfully uploaded!” but it looks like the plugin is attempting to import the first 3 media files over and over, and it says “failed to import” for each of these attempts. Screenshot here – https://prnt.sc/u1t2sw There are more than 3 images included in the XML file.

    Further, I had WP_DEBUG (and log) enabled, and there is no error logged that I can tell. I did not see any difference when rolling back the plugin. Here is a screenshot of the server specs – https://prnt.sc/u1t1la In this case, the host is EasyWP.

    I do have a few customers who report to me that the image imports fail. Is that a server issue where I can recommend specific changes? Any idea why the plugin gets stuck, and what I can do to stop this from happening? Thanks!

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi,

    so only these 3 images are failing? Others get imported? Does any of the posts/pages, … get imported?

    Are these images accessible on your server? Open the XML file, search for these images and see if the URLs work. If they don’t you’ll have to generate a new XML file, which should not include these images.

    The default length of an AJAX call is 25 seconds, so something else has to import in that time if only 3 images fail to import. Or are these images really really big?

    You could also try to disable the generation of smaller images in the importing process, which should speed things up, but the images will not look OK in the imported content. More info here. This would just serve as a test, if maybe the issue is in having a lot of image sizes and the importing process might be very slow because of that…

    I’m not sure what server config would cause an image not to be downloaded… It might be something on your server (not allowing the image to download) or on their end (not allowing the image to be saved or the HTTP request failing).

    Take care!

    Thread Starter Pix & Hue

    (@pixandhue)

    Hi again – Thanks for your response. This is only happening for some customers, not all. For example, I cannot recreate the issue on my own server, and for many customers it functions properly. This specific issue did not start happening until recently. The image files are not big, no. Of the 3 listed in the text file previous provided, they are 130KB or less.

    The plugin gets stuck somewhere, and it never comes out of it. Nothing is imported – there are no pages listed in the Dashboard or images added to the Media Library. There may be something added to the database, but at least within the Dashboard, it’s not obvious that anything was imported.

    Based on the text file, it seems like (for some customers) it gets stuck in loop of ajax calls and trying and failing to import image files. It just shows as an endless spinning circle within the interface of the plugin. If there is a security or permissions or time-out issue with the image files / upload folders, could the plugin get stuck somewhere?

    I will continue to try to collect data from others experiencing these same issues. I will also try the disabling of image sizes, as well. Thanks!

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi @pixandhue,

    it’s really strange that nothing gets imported (no pages, posts, …).

    It looks like the import process gets stuck, yes, but I’ve never experienced it. I would need to reproduce it in order to resolve the issue. It’s hard to know or guess what would be causing this issue.

    Is your theme a free theme on WP.org repository, that I could test out?

    Take care!

    Thread Starter Pix & Hue

    (@pixandhue)

    Hi again – Thanks for your response! No, I do not have a free theme for testing. I have done more debugging with the WordPress Importer plugin, and got more information. With the WordPress Importer plugin, the image files failed to import. Again, this is only a subset of websites. First, the plugin displayed a 403 forbidden error, and then it switched to a cURL error 28 when I continued to attempt importing files.

    I was working specifically on a WordPress install on Bluehost. I reached out to their customer support. They did not know why the images were not imported as everything is up-to-date, the permissions were correct, etc, but were going to elevate the ticket. I tried switching to a default WP theme and also disabling all of the plugins, but got the same result.

    In the case of the One Click plugin, I’m guessing it encounters the same issue, but instead of displaying an error message (failed to import media), it attempts the same import over and over again.

    If you have any thoughts on why this is happening, I appreciate any insight. And do you foresee ever updating the plugin to stop trying the same import after so many attempts? Thanks again for your help!

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi @pixandhue,

    yes, we could add this check to the plugin. I’ve created a GH issue for it: https://github.com/awesomemotive/one-click-demo-import/issues/216 but I can’t promise when this would be implemented and added to the plugin.

    If your images are accessible for others to download, then the only thing that could be causing this is the client hosting preventing from downloading the image, preventing to create an HTTP request for downloading the image, preventing to save the file, … I really can just guess what the issue is, but it should be investigated by the hosting company.

    Take care!

    Thread Starter Pix & Hue

    (@pixandhue)

    Understood, thanks. If I found out more information from Bluehost, I will let you know. Thanks again!

    I was working explicitly on a WordPress website introduce on Bluehost. I contacted their client assistance. They didn’t have the foggiest idea why the pictures were not imported as everything is forward-thinking, the authorizations were right, and so forth, however planned to hoist the ticket. I had a go at changing to a default WP subject and furthermore incapacitating the entirety of the modules, yet got a similar outcome.

    saniamirzaqureshi

    (@saniamirzaqureshi906)

    The module stalls out some place, and it never emerges from it. Nothing is imported – there are no pages recorded in the Dashboard or pictures added to the Media Library. There might be something added to the information base, yet at any rate inside the Dashboard, it’s not evident that anything was imported.

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi @saniamirzaqureshi906,

    please enable the WP debugging logs with the help of this article. And try the import again. Then check the debug log, to see if there will be any error messages.

    Also, let us know which PHP and WP versions your site is using.

    Take care!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘One Click / Import No Longer Working’ is closed to new replies.