mAAdhaTTah / wordpress-github-sync

A WordPress plugin to sync content with a GitHub repository (or Jekyll site)
https://wordpress.org/plugins/wp-github-sync/
GNU General Public License v3.0
613 stars 99 forks source link

Export to GitHub not working #215

Open brijbh opened 2 years ago

brijbh commented 2 years ago

Hi, Hopefully someone will help!... I set up the plugin as per the instructions, but have been trying for a week now, but no success in pushing to github. No error message, have no clue. Anyone who can help...thanks in advance.

We do use custom doc types, which I have added like this

add_filter('wpghs_whitelisted_post_types', function ($supported_post_types) { return array_merge($supported_post_types, array( // add your custom post types here 'Docs'
)); });

@mAAdhaTTah could you plesae help....anything that I should check to see what could be wrong.

swapnilnarad2000 commented 2 years ago

I am also having the same problem.

YLeight commented 2 years ago

The same problem: Web hook tells me

{"success":false,"data":[{"code":"invalid_payload","message":"[Missing Commit ID] won't be imported."}]}

Plugin writes in log

[28-Jul-2022 04:17:12 UTC] PHP Notice:  Undefined property: stdClass::$message in /home/y/ylitvyakov/public_html/wp-content/plugins/wp-github-sync/lib/client/base.php on line 70

@mAAdhaTTah Is it possible to use this plugin nowadays?

mAAdhaTTah commented 2 years ago

@YLeight I'll be honest, I have no idea. I haven't used this plugin in a long time and I'm currently migrating off WordPress. If you or anyone else would be interested in supporting this plugin, definitely comment on #193, but I'm no longer actively developing or supporting this plugin.

YLeight commented 2 years ago

@mAAdhaTTah got you. Thanks for reply 🙏