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.

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

Supporter timezone: America/Los_Angeles (GMT-07:00)

Tagged: 

This topic contains 1 reply, has 0 voices.

Last updated by Bobby 2 months, 2 weeks ago.

Assisted by: Bobby.

Author Posts
March 28, 2025 at 6:11 pm #16874298

gicuD

<b>Background of the issue:</b>
I am trying to add a property through the agent flow of the Homez theme on my WordPress site after activating the WPML plugin. However, the site crashes and displays multiple errors. Here are the error messages as they appear on the site:

Notice: The function wpdb::prepare was called incorrectly. Unsupported value type (object). Please see WordPress debugging for more information. (This message was added in version 4.8.2). in /home/my_website/public_html/wp-includes/functions.php on line 6114.

Fatal error: Uncaught Error: Call to undefined function wpml_tm_add_translation_job() in /home/my_website/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php:1467.

Deprecated: Automatic conversion of false to array is deprecated in /home/my_website/public_html/wp-content/plugins/wpml-sticky-links/classes/class-wpml-sticky-links.php on line 19.

Deprecated: Creation of dynamic property wpml_cms_nav_cache::$name is deprecated in /home/my_website/public_html/wp-content/plugins/wpml-cms-nav/inc/cache.class.php on line 36.

Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\mail() in /home/my_website/public_html/wp-includes/PHPMailer/PHPMailer.php:880.

<b>Symptoms:</b>
The site crashes when trying to add a property, displaying critical errors and undefined function messages, as well as warnings about deprecated functions.

<b>Questions:</b>
How can I resolve the critical errors when adding properties?
What steps should I follow to prevent the site from crashing when using WPML with the Homez theme?

March 30, 2025 at 10:56 pm #16877195

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

Please check that the Houzez theme is running the latest published version.

One of the errors seems related to PHPMailer. Also, try switching to the parent Houzez theme—does the error still occur?

The second error references a missing function: wpml_tm_add_translation_job(). This function is part of the WPML Translation Management add-on, which is no longer required to be active.

Make sure all themes, plugins, and add-ons are fully updated, and let me know if the issue persists.

The topic ‘[Closed] Unable to Add Properties After Activating WPML – Homez Theme’ is closed to new replies.