• Resolved wpuser10

    (@wpuser10)


    Hi,

    First of all – thank you for the plugin, it’s great that this kind of plugin has released.

    After exporting the xml data via default WP feature (WP admin -> Tools -> Export) and then importing on the new/fresh WP (4.5) install with your plugin (defaul theme, no other plugins installed, PHP 5.6.x) observed this kind of issues:

    1) Images are is not correctly uploaded (the images are correct, but always full image size is showing, not scalled/cropped size, etc.).

    2) After assigning the imported menu in “Customize -> Menus -> Menu locations” there is notice showing up on the website: “Notice: Trying to get property of non-object in /wp-included/nav-menu.php

    3) Custom sidebars are not imported. In order to make widgets imported correctly sidebars needs to be imported first.

    4) How to handle different “before import setups”? For example register custom sidebars, so that widgets could be imported correctly to the sidebars.

    Do you have solution or plan to fix the above in the future release?

    Thanks!

    https://wordpress.org/plugins/one-click-demo-import/

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

    (@capuderg)

    Hi,

    thanks for the kind words 🙂

    1) in the latest version of the plugin we disabled the image regeneration, so only the full sized images get imported. This will be the plugin default setting, but you will be able to enable the image regeneration via a filter (in the next plugin update).

    2) I do not get a notice when I set a menu location, maybe this is a theme issue?

    3) we will add a new WP action to the plugin: pt-ocdi/before_widgets_import, which you can use to setup the sidebars or other things, before the widgets get imported. This featured will be available in the next plugin version.

    4) look at the above answer. This will be available in the next plugin version.

    So yes, we have a plan to fix these issues 🙂 (except the issue #2, because I can’t recreate it on my site).

    The next plugin version should be out in two weeks.

    Take care!

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi,

    I lied, the new plugin version is already available 🙂

    I just made the update and you can find more info on the before widgets import action in the FAQ section: https://wordpress.org/plugins/one-click-demo-import/faq/

    Take care!

    FYI I too am getting the menu error:

    Notice: Trying to get property of non-object in …\wp-includes\nav-menu.php on line 731
    Notice: Trying to get property of non-object in …\wp-includes\nav-menu.php on line 727

    Working on localhost with the Divi Theme from Elegant Themes.

    This may be related to the xml content not being imported. Right now I can’t figure out why. The import fails when trying to import local_import_customizer_file because mine is a .json (wrong format, it is looking for .dat), so no pages, menu items for non existent pages error out.

    Ideas?

    • This reply was modified 7 years, 1 month ago by Flash Buddy.
    Plugin Author Gregor Capuder

    (@capuderg)

    Hi,

    where do you see these notices: “Notice: Trying to get property of non-object in …\wp-includes\nav-menu.php” ? On what page? During the import?

    Why do you have a json file listed in the customizer file? Did you not export the customizer settings with this plugin: https://wordpress.org/plugins/customizer-export-import/ ?

    Take care!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Few issues after import (one click demo import)’ is closed to new replies.