This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 3 replies, has 2 voices.

Last updated by Laura 12 months ago.

Assigned support staff: Laura.

Author Posts
October 13, 2018 at 2:05 pm

larsP-7

I am trying to:
open product categories page
Link to a page where the issue can be seen:
hidden link
I expected to see:
product categories Norwegian
Instead, I got:
internal server error

October 15, 2018 at 3:42 pm #2818162

Laura
Supporter

Languages: English (English ) Italian (Italiano ) Portuguese (Brazil) (Português )

Timezone: Europe/Rome (GMT+02:00)

Hi,

clicking on the provided link I don't get an error 500. It seems to be quite random, so I'm wondering if it is a server issue and not related to WPML.

Could you please enable the WordPress debug log? This will allow us to see if any PHP errors are being produced. More Info: https://codex.wordpress.org/Debugging_in_WordPress

Edit wp-config.php and insert the following lines:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

Browse to the page with the issue and/or reproduce the issue.

Locate the debug log in: /wp-content/debug.log

Paste the latest lines here. No need to paste the entire log file, just 50 lines or so will do. Please censor any sensitive information.

October 15, 2018 at 9:33 pm #2818882

larsP-7

The problem is I don`t see any critical or fatal errors in logs.

[15-Oct-2018 21:19:18 UTC] PHP Notice: Function woocommerce_sort_product_tabs() expects an array as the first parameter. Defaulting to empty array. in /home/lingeri6/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1692
[15-Oct-2018 21:20:22 UTC] PHP Notice: Undefined index: top_categories in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 133
[15-Oct-2018 21:20:22 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 133
[15-Oct-2018 21:20:22 UTC] PHP Notice: Undefined variable: link in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 138
[15-Oct-2018 21:20:22 UTC] PHP Warning: implode(): Invalid arguments passed in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 138
[15-Oct-2018 21:20:22 UTC] PHP Notice: Undefined index: top_categories in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 133
[15-Oct-2018 21:20:22 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 133
[15-Oct-2018 21:20:22 UTC] PHP Notice: Undefined variable: link in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 138
[15-Oct-2018 21:20:22 UTC] PHP Warning: implode(): Invalid arguments passed in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 138
[15-Oct-2018 21:20:23 UTC] PHP Notice: Undefined variable: title in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/bv-woocommerce-functions.php on line 540
[15-Oct-2018 21:20:23 UTC] PHP Notice: Undefined index: top_categories in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 48
[15-Oct-2018 21:20:23 UTC] PHP Notice: Undefined index: name in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 48
[15-Oct-2018 21:20:23 UTC] PHP Notice: Undefined variable: output in /home/lingeri6/public_html/wp-content/plugins/woocommerce-catalogue-filters/core/includes/WCF_Frontend.php on line 102
[15-Oct-2018 21:20:23 UTC] PHP Warning: array_merge(): Argument #2 is not an array in /home/lingeri6/public_html/wp-content/plugins/woocommerce-catalogue-filters/core/includes/WCF_Frontend.php on line 34
[15-Oct-2018 21:20:23 UTC] PHP Notice: Undefined index: slug in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/templates/woocommerce-catalogue-filters/widget-filters.php on line 7
[15-Oct-2018 21:20:23 UTC] PHP Notice: Undefined variable: pa_colour in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/templates/woocommerce-catalogue-filters/widget-filters.php on line 13
[15-Oct-2018 21:20:23 UTC] PHP Notice: Undefined variable: pa_size in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/templates/woocommerce-catalogue-filters/widget-filters.php on line 14
[15-Oct-2018 21:20:23 UTC] PHP Notice: Undefined variable: product_brand in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/templates/woocommerce-catalogue-filters/widget-filters.php on line 15
[15-Oct-2018 21:20:23 UTC] PHP Notice: Undefined property: WP_Post_Type::$taxonomy in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/woocommerce/archive-product.php on line 29
[15-Oct-2018 21:20:26 UTC] PHP Notice: Undefined variable: output in /home/lingeri6/public_html/wp-content/plugins/woocommerce-catalogue-filters/core/includes/WCF_Frontend.php on line 102
[15-Oct-2018 21:20:26 UTC] PHP Warning: array_merge(): Argument #2 is not an array in /home/lingeri6/public_html/wp-content/plugins/woocommerce-catalogue-filters/core/includes/WCF_Frontend.php on line 34
[15-Oct-2018 21:20:26 UTC] PHP Notice: Undefined variable: categories in /home/lingeri6/public_html/wp-content/plugins/woocommerce-catalogue-filters/templates/widget-mobile-categories-filters.php on line 30
[15-Oct-2018 21:20:26 UTC] PHP Notice: Undefined variable: pa_colour in /home/lingeri6/public_html/wp-content/plugins/woocommerce-catalogue-filters/templates/widget-mobile-categories-filters.php on line 33
[15-Oct-2018 21:20:26 UTC] PHP Notice: Undefined variable: pa_size in /home/lingeri6/public_html/wp-content/plugins/woocommerce-catalogue-filters/templates/widget-mobile-categories-filters.php on line 34
[15-Oct-2018 21:20:26 UTC] PHP Notice: Undefined variable: product_brand in /home/lingeri6/public_html/wp-content/plugins/woocommerce-catalogue-filters/templates/widget-mobile-categories-filters.php on line 35
[15-Oct-2018 21:32:32 UTC] PHP Notice: Function woocommerce_sort_product_tabs() expects an array as the first parameter. Defaulting to empty array. in /home/lingeri6/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1692
[15-Oct-2018 21:32:37 UTC] PHP Notice: Function woocommerce_sort_product_tabs() expects an array as the first parameter. Defaulting to empty array. in /home/lingeri6/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1692
[15-Oct-2018 21:32:40 UTC] PHP Notice: Function woocommerce_sort_product_tabs() expects an array as the first parameter. Defaulting to empty array. in /home/lingeri6/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1692
[15-Oct-2018 21:32:53 UTC] PHP Notice: Undefined index: top_categories in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 133
[15-Oct-2018 21:32:53 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 133
[15-Oct-2018 21:32:53 UTC] PHP Notice: Undefined variable: link in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 138
[15-Oct-2018 21:32:53 UTC] PHP Warning: implode(): Invalid arguments passed in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 138
[15-Oct-2018 21:32:53 UTC] PHP Notice: Undefined index: top_categories in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 133
[15-Oct-2018 21:32:53 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 133
[15-Oct-2018 21:32:53 UTC] PHP Notice: Undefined variable: link in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 138
[15-Oct-2018 21:32:53 UTC] PHP Warning: implode(): Invalid arguments passed in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 138
[15-Oct-2018 21:32:54 UTC] PHP Notice: Undefined index: top_categories in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 133
[15-Oct-2018 21:32:54 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 133
[15-Oct-2018 21:32:54 UTC] PHP Notice: Undefined variable: link in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 138
[15-Oct-2018 21:32:54 UTC] PHP Warning: implode(): Invalid arguments passed in /home/lingeri6/public_html/wp-content/themes/cariana-child-byvalerie/core/BV_Functions.php on line 138

October 16, 2018 at 10:39 am #2820596

Laura
Supporter

Languages: English (English ) Italian (Italiano ) Portuguese (Brazil) (Português )

Timezone: Europe/Rome (GMT+02:00)

Hi,

yes, there are no fatal errors here, which means that the issue isn't with the WordPress installation. Combined with the randomness of the issue, it's very likely related to the server.

Could you ask your hosting to retrieve your server error log so we can see if there are hints there?

The topic ‘[Closed] internal server error woocommerce categories/products’ is closed to new replies.