Code: Select all
Fatal error: Uncaught Error: Call to undefined method RuntimeException::get_parameters() in /phpBB3/includes/acp/acp_main.php:490 Stack trace: #0 /phpBB3/includes/functions_module.php(684): acp_main->main('main', 'main') #1 /phpBB3/adm/index.php(81): p_master->load_active() #2 {main} thrown in /phpBB3/includes/acp/acp_main.php on line 490
Fatal error: Uncaught Error: Call to undefined method RuntimeException::get_parameters() in ./includes/acp/acp_main.php:463
root/vendor/guzzlehttp/guzzle/src/functions.php
Code: Select all
} elseif (!$handler) {
Code: Select all
} elseif (!$handler && function_exists('curl_exec')) {
cURL, sockets, allow_url_fopen
are deactivated.That's right
When I undo the previous change and make the change in
/includes/acp/acp_main.php
, I get this error message:
Code: Select all
Fatal error: Uncaught RuntimeException: GuzzleHttp requires cURL, the allow_url_fopen ini setting, or a custom HTTP handler. in /phpBB3/vendor/guzzlehttp/guzzle/src/functions.php:119 Stack trace: #0 /phpBB3/vendor/guzzlehttp/guzzle/src/HandlerStack.php(42): GuzzleHttp\choose_handler() #1 /phpBB3/vendor/guzzlehttp/guzzle/src/Client.php(65): GuzzleHttp\HandlerStack::create() #2 /phpBB3/phpbb/file_downloader.php(56): GuzzleHttp\Client->__construct(Array) #3 /phpBB3/phpbb/file_downloader.php(79): phpbb\file_downloader->create_client('https://www.php...', 443, 30) #4 /phpBB3/phpbb/version_helper.php(384): phpbb\file_downloader->get('www.phpbb.com', '/customise/db/e...', 'version_check', 443, 30) #5 /phpBB3/phpbb/version_helper.php(354): phpbb\version_helper->get_versions(false, false) #6 /phpBB3/phpbb/version_helper.php(273): phpbb\version_helper->get_versions_matching_stability(false, false) #7 /phpBB3/phpbb/extension/manager.php(557): phpbb\version_helper->get_ext_update_on_branch(false, false) #8 /phpBB3/includes/acp/acp_extensions.php(338): phpbb\extension\manager->version_check(Object(phpbb\extension\metadata_manager), false, false, NULL) #9 /phpBB3/includes/functions_module.php(684): acp_extensions->main('extensions', 'main') #10 /phpBB3/adm/index.php(81): p_master->load_active() #11 {main} thrown in /phpBB3/vendor/guzzlehttp/guzzle/src/functions.php on line 119
root/vendor/guzzlehttp/guzzle/src/functions.php
Code: Select all
throw new \RuntimeException('GuzzleHttp requires cURL, the '
Code: Select all
throw new \phpbb\exception\runtime_exception('GuzzleHttp requires cURL, the '
Updated the fix.
Its inFailed to obtain latest version information.
GuzzleHttp requires cURL, the allow_url_fopen ini setting, or a custom HTTP handler.
Re-Check version · More information »
root/vendor/guzzlehttp/guzzle/src/functions.php
on line 119Well, this is how it should work eventually. Thanks for verifying the fix.
This should be the message:Failed to obtain latest version information.
GuzzleHttp requires cURL, the allow_url_fopen ini setting, or a custom HTTP handler.
Failed to obtain latest version information.
The operation could not be completed because the fsockopen function has been disabled or the server being queried could not be found.
The operation could not be completed because cURL PHP extension and allow_url_fopen PHP ini setting have been disabled and no other HTTP handler could be found.