You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP 7.2.17-0ubuntu0.18.04.1 (cli) (built: Apr 18 2019 14:12:38) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.17-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend Technologies
Sample output when I'm running my script (works before on PHP < 7.2)
Traceback (most recent call last):
File "./poster.py", line 75, in <module>
wpObject = Client(wp_url + "/xmlrpc.php", wp_username, wp_password)
File "/home/kholidfu/git/py2wp/lib/python3.7/site-packages/wordpress_xmlrpc/base.py", line 24, in __init__
self.supported_methods = self.server.mt.supportedMethods()
File "/usr/lib/python3.7/xmlrpc/client.py", line 1112, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python3.7/xmlrpc/client.py", line 1452, in __request
verbose=self.__verbose
File "/usr/lib/python3.7/xmlrpc/client.py", line 1154, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python3.7/xmlrpc/client.py", line 1170, in single_request
return self.parse_response(resp)
File "/usr/lib/python3.7/xmlrpc/client.py", line 1342, in parse_response
return u.close()
File "/usr/lib/python3.7/xmlrpc/client.py", line 656, in close
raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault -32700: 'parse error. not well formed'>
Solution:
Downgrade PHP 7.2 to 7.1 and it's now working like a charm....
The text was updated successfully, but these errors were encountered:
Have problem with PHP 7.2 on target...
PHP Version
$ php --version
Sample output when I'm running my script (works before on PHP < 7.2)
Solution:
Downgrade PHP 7.2 to 7.1 and it's now working like a charm....
The text was updated successfully, but these errors were encountered: