wordpress-github-sync icon indicating copy to clipboard operation
wordpress-github-sync copied to clipboard

Can't be used in WordPress 4.9.6

Open hugeterry opened this issue 6 years ago • 9 comments

When I updated to version 4.9.6, this plug-in didn't work and couldn't be exported to github.

hugeterry avatar May 23 '18 12:05 hugeterry

Any error logs or anything indicating the issue?

mAAdhaTTah avatar May 23 '18 14:05 mAAdhaTTah

No log prompt was seen in the settings interface. When I click the export to github button, the display starts exporting to github, and then nothing happens. 2018-05-24 9 25 08

And Github's personal access tokens interface always displays never used. 2018-05-24 9 50 37

hugeterry avatar May 24 '18 01:05 hugeterry

I want to confirm whether your side has been tested and successfully run on 4.9.6? Or is it just a question after my update.

hugeterry avatar May 24 '18 01:05 hugeterry

No, I have not looked into it yet.

mAAdhaTTah avatar May 24 '18 13:05 mAAdhaTTah

I have no issue using this on 4.9.6 or 4.9.7.

zreese avatar Jul 13 '18 17:07 zreese

Do you see any errors in your error log?

mAAdhaTTah avatar Jul 13 '18 18:07 mAAdhaTTah

Same issue here

MaraScott avatar Aug 02 '18 11:08 MaraScott

same issue(wp 5.3.2) :

 ubuntu@VM-ubuntu  /xxxxxx/www.chenxublog.com  wp wpghs export all 1 --debug
Debug (bootstrap): Fallback autoloader paths: phar://wp-cli.phar/vendor/autoload.php (0.02s)
Debug (bootstrap): Loading detected autoloader: phar://wp-cli.phar/vendor/autoload.php (0.021s)
Debug (commands): Adding command: cache (0.027s)
Debug (commands): Adding command: transient (0.028s)
Debug (commands): Adding command: comment (0.03s)
Debug (commands): Adding command: meta in comment Namespace (0.031s)
Debug (commands): Adding command: menu (0.032s)
Debug (commands): Adding command: item in menu Namespace (0.033s)
Debug (commands): Adding command: location in menu Namespace (0.033s)
Debug (commands): Deferring command: network meta (0.034s)
Debug (commands): Adding command: option (0.035s)
Debug (commands): Adding command: post (0.037s)
Debug (commands): Adding command: meta in post Namespace (0.037s)
Debug (commands): Adding command: term in post Namespace (0.038s)
Debug (commands): Adding command: post-type (0.038s)
Debug (commands): Adding command: site (0.04s)
Debug (commands): Adding command: meta in site Namespace (0.04s)
Debug (commands): Adding command: option in site Namespace (0.041s)
Debug (commands): Adding command: taxonomy (0.042s)
Debug (commands): Adding command: term (0.043s)
Debug (commands): Adding command: meta in term Namespace (0.044s)
Debug (commands): Adding command: user (0.046s)
Debug (commands): Adding command: meta in user Namespace (0.047s)
Debug (commands): Adding command: session in user Namespace (0.047s)
Debug (commands): Adding command: term in user Namespace (0.048s)
Debug (commands): Adding command: network (0.048s)
Debug (hooks): Processing hook "after_add_command:network" with 1 callbacks (0.048s)
Debug (hooks): On hook "after_add_command:network": Closure in file phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/class-wp-cli.php at line 634 (0.048s)
Debug (commands): Adding command: meta in network Namespace (0.048s)
Debug (commands): Adding command: db (0.051s)
Debug (commands): Adding command: plugin (0.057s)
Debug (commands): Adding command: theme (0.059s)
Debug (commands): Adding command: mod in theme Namespace (0.06s)
Debug (commands): Adding command: scaffold (0.062s)
Debug (commands): Adding command: core (0.062s)
Debug (commands): Adding command: verify-checksums in core Namespace (0.063s)
Debug (commands): Adding command: verify-checksums in plugin Namespace (0.064s)
Debug (commands): Adding command: export (0.065s)
Debug (commands): Adding command: config (0.068s)
Debug (commands): Adding command: core (0.07s)
Debug (commands): Adding command: eval (0.071s)
Debug (commands): Adding command: eval-file (0.071s)
Debug (commands): Adding command: import (0.072s)
Debug (commands): Adding command: media (0.075s)
Debug (commands): Adding command: package (0.078s)
Debug (commands): Adding command: cron (0.078s)
Debug (commands): Adding command: event in cron Namespace (0.079s)
Debug (commands): Adding command: schedule in cron Namespace (0.08s)
Debug (commands): Adding command: embed (0.08s)
Debug (commands): Adding command: fetch in embed Namespace (0.081s)
Debug (commands): Adding command: provider in embed Namespace (0.082s)
Debug (commands): Adding command: handler in embed Namespace (0.082s)
Debug (commands): Adding command: cache in embed Namespace (0.083s)
Debug (commands): Adding command: i18n (0.083s)
Debug (commands): Adding command: make-pot in i18n Namespace (0.085s)
Debug (commands): Adding command: make-json in i18n Namespace (0.085s)
Debug (commands): Deferring command: language core (0.087s)
Debug (commands): Deferring command: language plugin (0.088s)
Debug (commands): Deferring command: language theme (0.089s)
Debug (hooks): Immediately invoking on passed hook "after_add_command:site": Closure in file phar:///usr/local/bin/wp/vendor/wp-cli/language-command/language-command.php at line 39 (0.089s)
Debug (commands): Adding command: switch-language in site Namespace (0.089s)
Debug (commands): Adding command: language (0.09s)
Debug (hooks): Processing hook "after_add_command:language" with 3 callbacks (0.09s)
Debug (hooks): On hook "after_add_command:language": Closure in file phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/class-wp-cli.php at line 634 (0.09s)
Debug (commands): Adding command: core in language Namespace (0.09s)
Debug (hooks): On hook "after_add_command:language": Closure in file phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/class-wp-cli.php at line 634 (0.09s)
Debug (commands): Adding command: plugin in language Namespace (0.09s)
Debug (hooks): On hook "after_add_command:language": Closure in file phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/class-wp-cli.php at line 634 (0.09s)
Debug (commands): Adding command: theme in language Namespace (0.09s)
Debug (commands): Adding command: maintenance-mode (0.091s)
Debug (commands): Adding command: rewrite (0.092s)
Debug (commands): Adding command: rewrite (0.092s)
Debug (commands): Adding command: cap (0.092s)
Debug (commands): Adding command: role (0.093s)
Debug (commands): Adding command: search-replace (0.097s)
Debug (commands): Adding command: server (0.098s)
Debug (commands): Adding command: shell (0.098s)
Debug (commands): Adding command: super-admin (0.099s)
Debug (commands): Adding command: widget (0.1s)
Debug (commands): Adding command: sidebar (0.101s)
Debug (bootstrap): Adding framework command: phar://wp-cli.phar/vendor/wp-cli/wp-cli/php/commands/cli.php (0.101s)
Debug (commands): Adding command: cli (0.104s)
Debug (commands): Adding command: cache in cli Namespace (0.104s)
Debug (commands): Adding command: alias in cli Namespace (0.104s)
Debug (bootstrap): Adding framework command: phar://wp-cli.phar/vendor/wp-cli/wp-cli/php/commands/help.php (0.104s)
Debug (commands): Adding command: help (0.105s)
Debug (bootstrap): No readable global config found (0.106s)
Debug (bootstrap): No project config found (0.106s)
Debug (bootstrap): argv: /usr/local/bin/wp wpghs export all 1 --debug (0.106s)
Debug (bootstrap): ABSPATH defined: /xxxxxx/www.chenxublog.com/ (0.106s)
Debug (bootstrap): Begin WordPress load (0.107s)
Debug (bootstrap): wp-config.php path: /xxxxxx/www.chenxublog.com/wp-config.php (0.107s)
Debug (commands): Adding command: akismet (0.369s)
Debug (commands): Adding command: wpghs (0.475s)
Debug (bootstrap): Loaded WordPress (0.655s)
Debug (hooks): Processing hook "before_run_command" with 1 callbacks (0.655s)
Debug (hooks): On hook "before_run_command": WP_CLI\Bootstrap\RegisterDeferredCommands->add_deferred_commands() (0.655s)
Debug (bootstrap): Running command: wpghs export (0.655s)
准备全部导出到GitHub。

chenxuuu avatar Dec 29 '19 15:12 chenxuuu

Anyone found the problem? It don't work for me either with 5.7.2.

No error in the log or on the plugin settings page. I tried with wp-cli same output as @chenxuuu . Like @hugeterry, the token wasn't even used.

fharper avatar May 19 '21 19:05 fharper