• Resolved danielbuvens

    (@danielbuvens)


    After upgrading to Woocommerce 3.6.1 I get an Internal Server Error on the wp-admin products page. (wp-admin/edit.php?post_type=product)

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    At the front end this upgrqde also gave an error. However, after deactivating and reactivating WPML (4.6.0) the front end functions correctly again.

    The error remains at the back end: products cannot be accessed.
    Going through the front end, selecting a product and then clicking “edit product” does not work either. The edit page for the specific product is shown but altering it does not work. Gives a timeout/ internal server error.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • I have the same problem!

    Thread Starter danielbuvens

    (@danielbuvens)

    I have confirmed that the problem is related to WPML / Woocommerce combination. I have deactivated all plugins and reactived them one by one. The problem appears when WPML is activated.
    Please fix this a.s.a.p. because I cannot update any products in this way.

    Hello @danielbuvens and @schaum
    Please make sure that you are using the latest WPML version of all WPML plugins.
    Usually, internal server error leaves something in the logs, if you can provide that information we would be able to tell you what to do and if it is a bug to fix it.
    To do that, please enable debugging in WordPress
    I suggest enabling debug in WordPress and checking the debug log.

    You can do this by setting these options in wp-config.php
    above the line that says:

    /* That’s all, stop editing! Happy blogging. */

    
    // Turn debugging on 
    define('WP_DEBUG', true); 
    // Tell WordPress to log everything to /wp-content/debug.log 
    define('WP_DEBUG_LOG', true); 
    // Turn off the display of error messages on your site 
    define('WP_DEBUG_DISPLAY', false); 
    // For good measure, you can also add the follow code, which will hide errors from being displayed on-screen 
    @ini_set('display_errors', 0); 
    

    Please do note to remove any other instances of this code if you have it in the file:
    define(‘WP_DEBUG’, false);

    Thread Starter danielbuvens

    (@danielbuvens)

    I added this code to wp-config.php but there is no relevant content in /wp-content/debug.log

    • This reply was modified 5 years, 7 months ago by danielbuvens.
    Thread Starter danielbuvens

    (@danielbuvens)

    [23-Apr-2019 12:43:25 UTC] PHP Notice: Undefined index: post_type in /var/www/vhosts/canyonstore.eu/httpdocs/belgium/wp-content/plugins/woorewards/include/unlockables/coupon.php on line 359
    [23-Apr-2019 12:45:22 UTC] PHP Warning: Illegal string offset ‘display_name’ in /var/www/vhosts/canyonstore.eu/httpdocs/belgium/wp-admin/includes/plugin-install.php on line 737
    [23-Apr-2019 12:45:22 UTC] PHP Warning: Illegal string offset ‘profile’ in /var/www/vhosts/canyonstore.eu/httpdocs/belgium/wp-admin/includes/plugin-install.php on line 743
    [23-Apr-2019 12:45:22 UTC] PHP Warning: Illegal string offset ‘avatar’ in /var/www/vhosts/canyonstore.eu/httpdocs/belgium/wp-admin/includes/plugin-install.php on line 744
    [23-Apr-2019 12:57:32 UTC] PHP Notice: Undefined index: post_type in /var/www/vhosts/canyonstore.eu/httpdocs/belgium/wp-content/plugins/woorewards/include/unlockables/coupon.php on line 359

    Thread Starter danielbuvens

    (@danielbuvens)

    I have deactivated *all* plugins, then reactivated in this order:
    1) Woocommerce
    [all okay]

    2) Wommerce Multilingual
    [all okay]

    3) WPML Multilingual CMS
    [all okay]

    4) WPML Translation Management
    [all okay]

    5) WPML String Translation
    [all okay]

    6) WPML Media
    …and we have an error: The server encountered an internal error or misconfiguration and was unable to complete your request.

    Debug log: [23-Apr-2019 14:01:27 UTC] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /var/www/vhosts/canyonstore.eu/httpdocs/belgium/wp-includes/class-wp-hook.php on line 288

    Hello @danielbuvens
    Thank you for the information.

    I was wondering – where that timeout error occurs?
    Is it when you visit a product or only when you activate the media plugin?

    Could you please check if this SQL query produces some results for you:

    
    SELECT * FROM wp_postmeta
    WHERE meta_key = '_thumbnail_id' AND meta_value = '0';
    

    *Do note that you have to replace wp_ with your database prefix that you have defined in your wp-config.php

    **Please make a database backup before doing that

    and try and remove the values and see if this helps – but only after database backup please!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Issue with Woocommerce 3.6.1 / WPML 4.6.0 – Internal Server Error’ is closed to new replies.