• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

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
 
Back
Top