Error when target post is deleted + fix
-
If there’s a rule for which its target post is deleted, an error occurs when some tries to edit the rule. The reason is a NULL variable passed to a function in the query.php. Here’s a fix:
/seo-automated-link-building/vendor/friedolinfoerder/wp-activerecord/src/Query.php line 484
/** * Get the row of the query * * @return \stdClass The row as an object */ public function get_row() { $row = $this->get_raw_row(); if ($row == NULL) { return []; } return $this->get_casted_row($row); }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Error when target post is deleted + fix’ is closed to new replies.