• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue [extension/git] Method name must be a string

khanhvu14

New Pleskian
Server operating system version
Centos7
Plesk version and microupdate number
18.47 update 3
I have problem with git extension

This is panel log:

[2022-10-18 10:37:34.506] 2640:634e1f7e7ba1c ERR [panel] Forgery protection token check failed.
[2022-10-18 10:37:34.507] 2640:634e1f7e7ba1c ERR [panel] Session token has expired.#0 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Plugin/Broker.php(309): Plesk\Application\Controller\Plugin\ForgeryProtection->preDispatch(Object(Zend_Controller_Request_Http))
#1 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Front.php(941): Zend_Controller_Plugin_Broker->preDispatch(Object(Zend_Controller_Request_Http))
#2 /usr/local/psa/admin/plib/pm/Application.php(87): Zend_Controller_Front->dispatch()
#3 /usr/local/psa/admin/htdocs/modules/git/index.php(5): pm_Application->run()
#4 {main}:
0: /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Plugin/Broker.php:312
Zend_Controller_Plugin_Broker->preDispatch(object of type Zend_Controller_Request_Http)
1: /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Front.php:941
Zend_Controller_Front->dispatch()
2: /usr/local/psa/admin/plib/pm/Application.php:87
pm_Application->run()
3: /usr/local/psa/admin/htdocs/modules/git/index.php:5
[2022-10-18 10:37:34.511] 2640:634e1f7e7ba1c ERR [panel] Session token has expired.#0 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Plugin/Broker.php(309): Plesk\Application\Controller\Plugin\ForgeryProtection->preDispatch(Object(Zend_Controller_Request_Http))
#1 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Front.php(941): Zend_Controller_Plugin_Broker->preDispatch(Object(Zend_Controller_Request_Http))
#2 /usr/local/psa/admin/plib/pm/Application.php(87): Zend_Controller_Front->dispatch()
#3 /usr/local/psa/admin/htdocs/modules/git/index.php(5): pm_Application->run()
#4 {main}
[2022-10-18 10:37:45.428] 14662:634e1f896870a ERR [extension/git] Method name must be a string
[2022-10-18 10:38:02.107] 48291:634e1f9a1a0c6 ERR [extension/git] Method name must be a string
[2022-10-18 10:49:26.482] 23336:634e2246759b6 ERR [extension/git] Method name must be a string
 
Since the Git extension update from yesterday (2.3.0 17. October 2022) all my repositories show an error message "Server error: Method name must be a string" whenever I try to deploy them.
 
I have excatly the same problem, it was introduced with yesterdays Git extension update v2.3.0 (17 October 2022)
 
While waiting for the fix to pull your code manually, you can do this
Code:
git --git-dir=git/my-project.git/ --work-tree=my-project.com/ pull
 
When pulling show this:

9oGGfQr.png


Server error: Method name must be a string.
 
Back
Top