[Resolved] Site library import does not work

Home Forums Support [Resolved] Site library import does not work

Home Forums Support Site library import does not work

Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • #1412410
    Michael

    My hoster told me that this php-xml extension is already active by default.
    So this is the issue why I am getting errors while doing the import with WP 5.5?

    #1412913
    Tom
    Lead Developer
    Lead Developer

    You may want to relay this part of your error_log to them:

    [Thu Aug 20 18:36:51.460986 2020] [-:error] stderr: PHP Warning: DOM support is not enabled in ./wp-content/plugins/gp-premium/sites/libs/wxr-importer/WXRImporter.php on line 392, referer ./wp-admin/themes.php?page=generatepress-site-library

    I believe that warning happens when php-xml is not enabled. However, it could be that an option within that extension that needs to be enabled: https://stackoverflow.com/questions/44045478/how-do-i-enable-the-dom-extension-in-the-php-ini

    #1474329
    Sam

    I have this exact issue, did you get a solution in the end?

    I have DOM, xml, xmlreader, xmlwriter, xmlrpc, simplexml all installed but it doesnt seem to work?

    Running freebsd 12.1.

    #1474396
    Michael

    Hi Sam

    I changed the hoster – that was the solution 😉
    The server configuration on my previous hoster was just slightly weird I guess…

    Cheers
    Michael

    #1474468
    David
    Staff
    Customer Support

    Hi Sam – can you raise a new topic and share any errors or screenshots you’re receiving on import and we can advise.

    #1479291
    Sam

    Hi David,

    No need! It turns out to be an issue in the PHP 7.4 package on freebsd, for a which a fix has just been committed.

    For anyone who has ended up here like i did, chasing leads around the internet on google to troubleshoot this, i would direct you to this bug report https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249886

    and this thread https://forums.freebsd.org/threads/php-7-4-dom-support-not-enabled.77228

    Thanks!

    #1479760
    David
    Staff
    Customer Support

    Glad to hear that !

Viewing 7 posts - 16 through 22 (of 22 total)
  • You must be logged in to reply to this topic.