Parse error after updating to 3.0.8
-
Following errors shown after upgrading and whole site down:
PHP Parse error: syntax error, unexpected ‘)’ in /app/wp-content/themes/zakra/functions.php on line 239
This line:
delete_post_meta( $post_id, ‘_zakra_product_gallery_image_id_’ . $id, );
Has an incorrect trailing comma, can a fix be provided please?
https://developer.www.ads-software.com/reference/functions/delete_post_meta/
Meta value needs either providing or comma removed to accept default value.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Parse error after updating to 3.0.8’ is closed to new replies.