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
New version 2.4.0 is incompatible with pear/xml_rpc2 1.1.4:
PHP Warning: Uncaught ErrorException: require_once(HTTP/Request2.php): failed to open stream: No such file or directory in /home/vagrant/vendor/pear/xml_rpc2/XML/RPC2/Util/HTTPRequest.php:45
Any hint to solve this? Thank you!
The text was updated successfully, but these errors were encountered:
Basically, just remove require_once 'HTTP/Request2.php' statement from the above file.
The longer answer is that I removed include-path setting from composer.json of release 2.4.0, so packages that depend on HTTP_Request2 can no longer rely on the fact that such statements work. They should only do this as a fallback if the class was not autoloaded, e.g.
if (!class_exists('HTTP_Request2', true)) {
require_once'HTTP/Request2.php';
}
the code above will trigger autoloading when run from composer installation and fall back to explicit require in PEAR installation.
Please open an issue for xml_rpc2 linking to this one
New version 2.4.0 is incompatible with pear/xml_rpc2 1.1.4:
PHP Warning: Uncaught ErrorException: require_once(HTTP/Request2.php): failed to open stream: No such file or directory in /home/vagrant/vendor/pear/xml_rpc2/XML/RPC2/Util/HTTPRequest.php:45
Any hint to solve this? Thank you!
The text was updated successfully, but these errors were encountered: