
Originally Posted by
Elemi
hmmmmm.... I updated that and crashed my site!
So I've just reverted that back.
What can I say, not enough information given especially when accessing the file to find that it was not as expected and then not identifying that.
Now that I've gone and done all the work to find the plugin that installs that file, the below change works if using PHP 8.x or higher:
At line 108, replace
Code:
AND pa.options_id = $options_id
With:
Code:
AND pa.options_id = " . (is_numeric($options_id) ? $options_id : '\'' . $options_id . '\'') . "
Note that the content surrounding the third instance of $options_id is three single quotes with a back slash before the second one and that double quotes are otherwise used to match the format in the file.
The plugin to which this applies is: Keep Cart
Bookmarks