<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?
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.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.