Skip Navigation

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.

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Bigul 1 year, 11 months ago.

Assisted by: Bigul.

Author Posts
July 12, 2023 at 1:47 pm #14024989

heikoB-7

Tell us what you are trying to do?
When I use the language switscher widget to go to hidden link

What is the link to your site?
hidden link

July 12, 2023 at 2:05 pm #14025271

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

Please increase *WP Memory Limit* to *256*(the minimum required memory limit for WPML is *128*). Please check the following links for more details

https://wpml.org/home/minimum-requirements/

https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php

Also, please share with us the WordPress debug.log(not WPML debug information) for collecting more details on this. Refer to the following pages for instructions

https://wpml.org/documentation/support/debugging-wpml/

https://wordpress.org/documentation/article/debugging-in-wordpress/

To enable the WordPress Debug log, open your wp-config.php file of site root and look for define('WP_DEBUG', false);. Change it to:

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
 
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
 
// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );

In this case, the errors will be saved to a debug.log log file inside the */wp-content/* directory. Please do the steps to reproduce the bug and check you are getting any errors or warnings related to WPML in the log file.

If you can paste your debug.log to http://pastebin.com/index.php and provide me that link it would be great! (This is the cleanest way because sometimes the logs are long and create a complete mess of discussion).

--
Thanks!

Bigul

July 12, 2023 at 2:08 pm #14025281

heikoB-7

Hi

The debuglog locks like below. Short question. When I check the communication log of the plugin, it seems not being able to connect to you. When I reenter the site key it does not recognize it?

Warning: Attempt to read property "feeds" on null in /var/www/vhosts/varmlandbybike.se/httpdocs/wp-includes/post.php on line 5016

Warning: Attempt to read property "feeds" on null in /var/www/vhosts/varmlandbybike.se/httpdocs/wp-content/plugins/sitepress-multilingual-cms/inc/url-handling/wpml-slug-filter.class.php on line 97

Warning: Attempt to read property "pagination_base" on null in /var/www/vhosts/varmlandbybike.se/httpdocs/wp-content/plugins/sitepress-multilingual-cms/inc/url-handling/wpml-slug-filter.class.php on line 100

Fatal error: Uncaught Error: Call to a member function get_page_permastruct() on null in /var/www/vhosts/varmlandbybike.se/httpdocs/wp-includes/link-template.php:431 Stack trace: #0 /var/www/vhosts/varmlandbybike.se/httpdocs/wp-includes/link-template.php(393): _get_page_link() #1 /var/www/vhosts/varmlandbybike.se/httpdocs/wp-includes/link-template.php(197): get_page_link() #2 /var/www/vhosts/varmlandbybike.se/httpdocs/wp-includes/post.php(4552): get_permalink() #3 /var/www/vhosts/varmlandbybike.se/httpdocs/wp-content/plugins/tour-booking-manager/tour-booking-manager.php(79): wp_insert_post() #4 /var/www/vhosts/varmlandbybike.se/httpdocs/wp-content/plugins/tour-booking-manager/tour-booking-manager.php(34): TTBM_Woocommerce_Plugin::on_activation_page_create() #5 /var/www/vhosts/varmlandbybike.se/httpdocs/wp-content/plugins/tour-booking-manager/tour-booking-manager.php(21): TTBM_Woocommerce_Plugin->load_ttbm_plugin() #6 /var/www/vhosts/varmlandbybike.se/httpdocs/wp-content/plugins/tour-booking-manager/tour-booking-manager.php(102): TTBM_Woocommerce_Plugin->__construct() #7 /var/www/vhosts/varmlandbybike.se/httpdocs/wp-settings.php(447): include_once('...') #8 /var/www/vhosts/varmlandbybike.se/httpdocs/wp-config.php(108): require_once('...') #9 /var/www/vhosts/varmlandbybike.se/httpdocs/wp-load.php(50): require_once('...') #10 /var/www/vhosts/varmlandbybike.se/httpdocs/wp-blog-header.php(13): require_once('...') #11 /var/www/vhosts/varmlandbybike.se/httpdocs/index.php(17): require('...') #12 {main} thrown in /var/www/vhosts/varmlandbybike.se/httpdocs/wp-includes/link-template.php on line 431

Notice: Function is_home was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/vhosts/varmlandbybike.se/httpdocs/wp-includes/functions.php on line 5835

Notice: Function is_post_type_archive was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/vhosts/varmlandbybike.se/httpdocs/wp-includes/functions.php on line 5835

Notice: Function is_front_page was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/vhosts/varmlandbybike.se/httpdocs/wp-includes/functions.php on line 5835

Notice: Function is_home was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/vhosts/varmlandbybike.se/httpdocs/wp-includes/functions.php on line 5835

Notice: Function is_singular was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/vhosts/varmlandbybike.se/httpdocs/wp-includes/functions.php on line 5835

Notice: Function is_front_page was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/vhosts/varmlandbybike.se/httpdocs/wp-includes/functions.php on line 5835

Notice: Function is_home was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/vhosts/varmlandbybike.se/httpdocs/wp-includes/functions.php on line 5835

Notice: Function is_singular was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/vhosts/varmlandbybike.se/httpdocs/wp-includes/functions.php on line 5835

Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/vhosts/varmlandbybike.se/httpdocs/wp-includes/functions.php on line 5835

Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/vhosts/varmlandbybike.se/httpdocs/wp-includes/functions.php on line 5835

July 12, 2023 at 2:26 pm #14025575

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the updates. The Debug.log is not showing any error related to WPML. But it listed a couple of warnings. It will not be causing the issue. This may be a compatibility issue. Because there is a fatal error from the Booking plugin.

So please check if you are getting any error related to WPML in the server error log while having this bug. May you need your hosting team's support to access the server error log file. It may help to find the conflict related to the Communication Log error also.

--
Thanks!

Bigul

July 12, 2023 at 2:55 pm #14026267

heikoB-7

Found a conflict with Tour & Travel Booking Manager For WooCommerce and their latest version 1.5.3. Rolled back it to 1.5.2 and now the error is gone. WPML works fine as it used to 🙂

July 13, 2023 at 7:05 am #14029281

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the updates. Happy to know you are getting the expected results now. For your kind information, the *Tour Booking Manager For Woocommerce* plugin is not included on the WPML official compatibility list for the Plugins - https://wpml.org/plugin/. It does not mean that this plugin is not compatible with WPML, but our compatibility team has not tested it yet.

So please request the plugin author to apply for our compatibility program. It will help us to avoid conflict like this in the future. Refer to the following link for more details.

https://wpml.org/documentation/support/go-global-program/

--
Thanks!

Bigul