• nikiss

    (@nikisommerer)


    Dear all,
    on my website it is not possible to open sites like shop… from woocommerce. I also tried a solution i found in another forum by creating templates. Worked neither. I can load Elementor sites i created in the past. Also i have got a problem, when I’m loading my site the error”500 Initial Server Error” appears.
    In the log on my Hosting-Site i get the errors:
    End of script output before headers:
    [core:error] admin-ajax.php, referer: https://…../wp-admin/post-new.php?post_type=page
    [core:error] End of script output before headers: index.php, referer: https://www…..at/wp-admin/post-new.php?post_type=page

    Thank you!
    Kind regards,
    Niklas

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    It sounds like you’re encountering a couple of distinct issues with your WordPress site related to WooCommerce and an error 500. Let’s address them step by step:

    1. Trouble Opening WooCommerce Pages (like Shop): If you’ve already tried creating templates without success, the issue might be with WooCommerce’s settings or conflicts with other plugins/themes. Here are a few steps to troubleshoot:
      • Permalinks: Go to Settings > Permalinks in your WordPress dashboard and simply click “Save Changes” to reset them. Sometimes this resolves page access issues.
      • Plugin Conflict: Deactivate all plugins except WooCommerce and switch to a default theme like Twenty Twenty-One. If this fixes the issue, reactivate each one by one to find the culprit.
      • WooCommerce Status: Check WooCommerce’s status by going to WooCommerce > Status in your dashboard for any noticeable issues.
    2. 500 Internal Server Error & Log Messages:
      • This error is often related to server-side issues. The log entries mentioning “End of script output before headers” suggest a problem with PHP scripts.
      • PHP Version: Ensure your hosting is using a compatible PHP version for your WordPress version.
      • Debugging: Enable WP_DEBUG by adding define( 'WP_DEBUG', true ); to your wp-config.php file. This might provide more detailed error messages.
      • Memory Limit: Increase the PHP memory limit. You can do this by adding define('WP_MEMORY_LIMIT', '256M'); to your wp-config.php file.
      • Check .htaccess: Sometimes .htaccess file gets corrupted. Try renaming it to something like .htaccess_old and create a new .htaccess file with default WordPress .htaccess content.

    The admin-ajax.php errors can be related to a plugin or theme causing excessive or erroneous AJAX calls. It’s challenging to pinpoint without further details. Disabling plugins and switching themes as part of the conflict test (mentioned above) can help in identifying if this is the case.

    If these steps don’t resolve your issues, it might be helpful to get in touch with your hosting provider. They can often provide more detailed server logs and insights.

    Thread Starter nikiss

    (@nikisommerer)

    Thank you very much”
    I have tried all of you steps, but nothing really worked.
    Now i set up a complete new WordPress installation localy on my computer with only Elementor and Woocommerce.
    I still have got the same problem. What could be the fault? I still can open normal sites with Elementor, but i can’t open sites like the shop…
    Woocommerce version: 8.5.1
    Elementor version: 3.18.3

    Hello Niklas,

    I’m sorry to hear that the issues persist even after setting up a new WordPress installation with only Elementor and WooCommerce. Since the problem occurs in a clean environment, it narrows down the potential causes. Let’s consider a few more troubleshooting steps:

    1. WooCommerce and Elementor Compatibility: Ensure that both WooCommerce (version 8.5.1) and Elementor (version 3.18.3) are compatible with each other and with the version of WordPress you are using. Sometimes, updates in one can lead to compatibility issues with the other.
    2. Elementor Templates for WooCommerce: Since you’re using Elementor, ensure you have correctly set up the WooCommerce pages (like the Shop page) using Elementor’s templates. You might need to assign the Elementor template specifically for the Shop page under WooCommerce settings or within Elementor’s settings.
    3. PHP Configuration and Error Logs: Although you’ve set up a local environment, PHP configuration can still play a role. Check your PHP error logs for any specific messages related to WooCommerce or Elementor. The PHP version should be compatible with both WordPress and the plugins you are using.
    4. JavaScript Conflicts: Sometimes, issues with Elementor and WooCommerce can be due to JavaScript conflicts. Check your browser’s console for any JavaScript errors when you try to access the Shop page.
    5. Database Issues: On your local setup, ensure the database is correctly configured, and there are no issues or errors related to database connections or queries.
    6. Server Requirements: Verify that your local server environment meets the minimum requirements for running WordPress, WooCommerce, and Elementor. This includes checking things like the MySQL version, PHP extensions, etc.
    7. Test with a Default Theme: Temporarily switch to a default WordPress theme (like Twenty Twenty-One) and see if the Shop page works. This can help determine if the issue is with Elementor’s integration.
    8. Check WooCommerce Shortcodes: Make sure that the WooCommerce shortcodes (like [woocommerce_shop]) are correctly placed on the Shop page, if you’re using them.

    Since the problem persists in a clean install, it’s more likely a compatibility issue or a specific setup requirement that’s being overlooked. If none of these steps help, consider reaching out to the support forums or communities for Elementor and WooCommerce for more specific guidance, as they might have encountered similar issues with these versions.

    Thread Starter nikiss

    (@nikisommerer)

    Thank you very much!!
    I’ll follow you steps.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Elementor Preview couldn’t be loaded | 500 Initial Server Error’ is closed to new replies.