Since upgrading to v156a, when I try to delete a product from a category (when the product is present in multiple categories), the list of categories with tick boxes on the right side has an error. The first category in the list, is displayed again next to the second category, like so:
Italian Murano Glass > Murano Sommerso
Italian Murano Glass > Murano SommersoItalian Murano Glass > Murano Faceted
Where it should be:
Italian Murano Glass > Murano Sommerso
Italian Murano Glass > Murano Faceted
When I open the file: admin/category_product_listing.php I am told it has a syntax error on line 155. This file has not been edited and is not affected by any plugins. The area of code is as follows:
154 $cascaded_prod_id_for_delete = $category_product['products_id'];
155 $cascaded_prod_cat_for_delete = [];
156 $cascaded_prod_cat_for_delete[] = $categories[$i]['id'];
I am using php version 7.3. Changing the version back to 7.0 seems to have no effect on the error.
Bookmarks