Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+03:00)

This topic contains 7 replies, has 2 voices.

Last updated by Osama Mersal 1 year, 5 months ago.

Assisted by: Osama Mersal.

Author Posts
February 27, 2024 at 10:26 am #15348440

erenK

Hello, I suddenly started getting a template error on my website, when I activate string translation, my crocoblock themes do not come at all on some pages, some pages come incorrectly on some pages, I need urgent help

hidden link

February 27, 2024 at 11:08 am #15348692

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

1) Please provide the WordPress debug.log; this will allow us to see if any PHP errors are being produced. More info: https://wordpress.org/support/article/debugging-in-wordpress/

To enable it, open your wp-config.php file and look for the following line:

define('WP_DEBUG', false);

And change it to:

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, which is recommended on a live site.
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors',0);

Then, try to reproduce the issue and check if any errors were saved to the debug.log log file inside the /wp-content/ directory.
It would be great if you could paste your debug.log to https://pastebin.com/ and provide me with that link!

2) Could you please share your Debug information with me?
You can read a detailed explanation about it here. (http://wpml.org/faq/provide-debug-information-faster-support)
The debug info will give me much information about how your site is configured.

Best regards,
Osama

February 27, 2024 at 12:39 pm #15349140

erenK

https://pastebin.com/q2GL9L8f this my Debug.Log file

But i have a too many problems.

Trying to get property 'post_type' of non-object in /home/customer/www/staging15.medclinics.com/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-proxy/wpml-pro-translation.class.php on line 421

and not compatiable for Crocoblocks

February 27, 2024 at 12:48 pm #15349146

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

I see only one error in the log, and the rest are warnings and notices. The error is a database error:

[27-Feb-2024 11:56:58 UTC] WordPress database error Deadlock found when trying to get lock; try restarting transaction for query ALTER TABLE wp_jet_reviews MODIFY COLUMN author VARCHAR(255) made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, Jet_Reviews->init, Jet_Reviews\DB\Manager->__construct, Jet_Reviews\DB\Manager::init_db_required, Jet_Reviews\DB\Manager::maybe_modify_tables

Following these steps, please check if the issue persists in a minimal environment.

1- Deactivate all the plugins except WPML CMS, String Translation, Elementor, Elemenor Pro, and Jetengine main plugin.
2- Switch to your parent theme.
3- Check the home page.

If the issue is gone, activate them one by one to see which one is causing an interaction issue.

❌ Please backup your database before performing the above test ❌

Best regards,
Osama

February 27, 2024 at 12:56 pm #15349188

erenK

Our Home page build with JetEngine(Crocoblocks). I can't disabled this extension.

February 27, 2024 at 12:59 pm #15349193

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Please keep it active and deactivate the other JetEngine plugins, for example, JetSearch and JetProductGallery.

Best regards,
Osama

February 27, 2024 at 3:35 pm #15349927

erenK

We've tried many methods. From what you've said. But there's only one solution. As soon as we close the String Translation plugin, the whole problem is solved.

February 27, 2024 at 3:37 pm #15349929

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for your update. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

The topic ‘[Closed] template error’ is closed to new replies.