[Support request] [Merch] 400 error when importing demo content

Home Forums Support [Merch] 400 error when importing demo content

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1082907
    ruzek

    Hi there! I am trying to import Merch and am getting 400 errors:

    400 error importing site options

    It looks like the error occurs when “importing site options” is reached. Query monitor didn’t show anything unusual:

    query-monitor

    These are the only PHP (7.3) errors I get:

    [29-Nov-2019 12:53:51 UTC] PHP Notice:  Undefined index: masonry_width in /srv/htdocs/wp-content/plugins/gp-premium/sites/classes/class-site-helper.php on line 146
    [29-Nov-2019 12:53:51 UTC] PHP Notice:  Undefined index: masonry_most_recent_width in /srv/htdocs/wp-content/plugins/gp-premium/sites/classes/class-site-helper.phpon line 146

    I’m have updated to GP 2.4.1 and Premium to 1.9.1, and disabled all additional plugins (besides the ones the site library installs). Flushed cache as well, to no avail. Hosted on WordPress.com, so any server-side caching cannot be disabled.

    #1082931
    David
    Staff
    Customer Support

    Hi there.

    this is generally server related, Tom provides some pointers here that you can ask your Host:

    https://generatepress.com/forums/topic/400-bad-request-while-using-theme-from-site-library/page/2/#post-1013866

    #1082959
    ruzek

    Thanks for getting back to me. Can you please provide an XML file so I can use the WP importer instead? Otherwise, is there a guide to manually configure this theme myself? It looks like CSS came through.

    #1083472
    ruzek

    Just a follow-up: It looks like other GP customers trying to import demo sites from the library are also running into the same errors on WordPress.com. The XML import solution was suggested.

    If possible, please reach out to WordPress.com to see if anything can be done for your customers hosted there. I’d really appreciate if you could, though can make do otherwise if there’s a workaround.

    #1084855
    David
    Staff
    Customer Support

    The file XML can be found here https://gpsites.co/file/merch/content.xml

    Problem is that it won’t import site options (plugin options etc..), menus and all that other stuff that’s done in the content import step.

    Are you on wordpress . com ? As i know they are restrict access to most normal server controls.

    #1084888
    ruzek

    Thanks for sharing that. So without the site library properly importing, I can’t use Merch huh?

    SFTP/phpMyAdmin access is about to launch for Business and eCommerce plans on WP.com, so that might be an option for importing. What do you think?

    #1084936
    ruzek

    Hey David, the https://gpsites.co/file/merch/content.xml link you shared 404’s when I try to load it.

    #1085200
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Sorry about that – can you try this?: https://gpsites.co/files/merch/content.xml

    I’m assuming that WordPress.com has some security measures in place that will prevent the download of external XML files like this. It might be necessary to include a way to manually upload the xml file directly in the importer so it can do all of the other good stuff it does.

    #1085206
    ruzek

    Thanks Tom. A manual option would be a nice fall-back.

    #1086636
    Tom
    Lead Developer
    Lead Developer

    No problem. I agree – will try to get that worked into 1.10 🙂

    #1086638
    ruzek

    That’s sincerely appreciated!

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