Needs better error handling
-
Instead of failing gracefully when badly formed markup is encountered and allowing standard webmention to be created this happens:
PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /****/public_html/wp-content/plugins/semantic-linkbacks/includes/class-linkbacks-mf2-handler.php:403
Stack trace:*****/public_html/wp-content/plugins/semantic-linkbacks/includes/class-linkbacks-mf2-handler.php(206): Linkbacks_MF2_Handler::flatten_microformats(NULL)
Just ecause some author markup is not correctly formed (the rest of the markup is valid.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Needs better error handling’ is closed to new replies.