• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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