• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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