This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing an issue with the Vikrentcar plugin on their English website, which requires a modification in the database handling code.
Solution:
We recommend backing up your website before attempting any fixes. Navigate to the
wp-content/plugins/vikrentcar/libraries/adapter/database/database.php
file. In the
JDatabase::loadObjectList
function, modify the existing code from:
if (is_array($this->result)) {<br />return $this->result;<br />}
to:
if (is_array($this->result)) {<br />foreach ($this->result as $row => $obj) {<br />if (isset($obj->post_id)) {<br />this->result[$row]->post_id = apply_filters('wpml_object_id', $this->result[$row]->post_id, 'page' );<br />}<br />}<br />return $this->result;<br />}
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.
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 is split from https://wpml.org/forums/topic/problem-after-vikwp-plugin-update/
This topic contains 9 replies, has 2 voices.
Last updated by Kor 2 days, 15 hours ago.
Assisted by: Kor.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.