dshanske / syndication-links

Add and Display Syndication Links in WordPress
https://wordpress.org/plugins/syndication-links/
GNU General Public License v2.0
30 stars 13 forks source link

Error Undefined variable: post_ID #141

Closed frankmeeuwsen closed 3 years ago

frankmeeuwsen commented 3 years ago

When I write a post and syndicate it to Twitter, I get the following errormessages. It repeats but I want to be complete:

PHP Notice:  Undefined variable: post_ID in /kunder/incred_10722/diggin_13647/public/wp-content/plugins/syndication-links/includes/class-syndication-provider-webmention.php on line 48
Notice: Undefined variable: post_ID in /kunder/incred_10722/diggin_13647/public/wp-content/plugins/syndication-links/includes/class-syndication-provider-webmention.php on line 48
PHP Notice:  Undefined variable: post_ID in /kunder/incred_10722/diggin_13647/public/wp-content/plugins/syndication-links/includes/class-syndication-provider-webmention.php on line 62
Notice: Undefined variable: post_ID in /kunder/incred_10722/diggin_13647/public/wp-content/plugins/syndication-links/includes/class-syndication-provider-webmention.php on line 62
Success: true
PHP Notice:  Undefined variable: errors in /kunder/incred_10722/diggin_13647/public/wp-content/plugins/syndication-links/includes/class-post-syndication.php on line 163
Notice: Undefined variable: errors in /kunder/incred_10722/diggin_13647/public/wp-content/plugins/syndication-links/includes/class-post-syndication.php on line 163

The tweet is posted through Bridgy though. I am not sure what I can do to fix this problem or what exactly is going on. Any help is appreciated.

dshanske commented 3 years ago

Thanks, the error messages should make debugging a snap

frankmeeuwsen commented 3 years ago

Happy to help. Is it something on my end of the installation/configration or a bug in the plugin itself

dshanske commented 3 years ago

Any time it's an undefined variable, it's a plugin issue. It may be a scenario your site had that others didn't... but...

dshanske commented 3 years ago

The error should be fixed in the next version.