• Chad Warner

    (@chad-warner)


    I imported a starter template and the images didn’t load, and the layout was messed up. The browser console showed many 404 errors, and many URLs were invalid (they contained extra slashes). After a lot of troubleshooting, I ran across this Stack Overflow post that led me to the solution. In /wp-content/plugins/astra-sites/inc/lib/starter-templates-importer/importer/wxr-importer/st-wxr-importer.php, I commented out this line:

    $data['post_content'] = wp_slash( $data['post_content'] );

    I then imported the starter template again, and it worked. I thought you should know, because this is affecting some users.

Viewing 1 replies (of 1 total)
  • Hi @chad-warner,

    Thank you for sharing this with us. I’d like to add that the issue seems to stem from WP cron jobs not functioning as expected and since these are built-in WordPress systems responsible for scheduling time-based tasks, they are site-specific. The Starter templates need cron jobs to complete the importing process.

    One more effective solution for this would be to reach out to your hosting provider and ask them to enable WP cron jobs on your website, which should help resolve the issue.

    Additionally, I’ll treat this as a valuable request and forward it to our development team for consideration. They will review it and explore possible improvements.

    Kind regards,
    Aradhy ??

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