yesterday upgraded php from 5.5 to 8.1, it gave me this error:
Fatal error: Uncaught TypeError: xml_parse(): Argument #1 ($parser) must be of type XMLParser, null given in /var/www/html/app/library/xmlrpc/xmlRpcClient.php:90 Stack trace: #0 /var/www/html/app/library/xmlrpc/xmlRpcClient.php(90): xml_parse() #1 /var/www/html/app/library/xmlrpc/xmlRpcClient.php(151): XML->parse() #2 /var/www/html/app/library/xmlrpc/xmlRpcClient.php(397): XML_unserialize() #3 /var/www/html/app/controller.php(271): XMLRPC_request() #4 /var/www/html/app/style/aura/index.php(450): include('...') #5 /var/www/html/app/index.html.php(25): include_once('...') #6 /var/www/html/app/index.php(177): require_once('...') #7 {main} thrown in /var/www/html/app/library/xmlrpc/xmlRpcClient.php on line 90
I've fixed some code, but i'm afraid need to update library. How can do it from command line or anyhow quickly?
Related
I tried using PHPUnit 9 but it is not supporting the latest version of PHP above 8.0
I am receiving this following error
Fatal error: Uncaught Error: Call to undefined function each() in C:\xampp\php\pear\PHPUnit\Util\Getopt.php:80 Stack trace: #0 C:\xampp\php\pear\PHPUnit\TextUI\Command.php(242): PHPUnit_Util_Getopt::getopt(Array, 'd:c:hv', Array) #1 C:\xampp\php\pear\PHPUnit\TextUI\Command.php(138): PHPUnit_TextUI_Command->handleArguments(Array) #2 C:\xampp\php\pear\PHPUnit\TextUI\Command.php(129): PHPUnit_TextUI_Command->run(Array, true) #3 C:\xampp\php\phpunit(46): PHPUnit_TextUI_Command::main() #4 {main} thrown in C:\xampp\php\pear\PHPUnit\Util\Getopt.php on line 80
I'm having this error in my wordpress website.
Fatal error: Uncaught Error: Class 'Elementor\Controls_Manager' not found in /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/autoloader.php:132 Stack trace: #0 /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/autoloader.php(78): Elementor\Autoloader::init_classes_map() #1 /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/autoloader.php(252): Elementor\Autoloader::get_classes_map() #2 /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/autoloader.php(305): Elementor\Autoloader::load_class('Core\\Logger\\Man...') #3 [internal function]: Elementor\Autoloader::autoload('Elementor\\Core\\...') #4 /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/plugin.php(708): spl_autoload_call('Elementor\\Core\\...') #5 /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/plugin.php(487): Elementor\Plugin->__construct() #6 /home/vol15_6/epizy.com/e in /home/vol15_6/epizy.com/epiz_26758330/htdocs/wp-content/plugins/elementor/includes/autoloader.php on line 132
The solution was to downgrade elementor to an older version of 3.0.11.
Installing some bundles in symfony 4 when I execute the command I get the same error over and over:
Command:
composer require phpoffice/phpspreadsheet secit-pl/imap-bundle tbbc/money-bundle
Erro with stack trace
PHP Fatal error: Uncaught Error: Function name must be a string in /var/www/skeleton/vendor/symfony/flex/src/ParallelDownloader.php:246
Stack trace:
#0 /var/www/skeleton/vendor/symfony/flex/src/ParallelDownloader.php(84): Symfony\Flex\ParallelDownloader->getNext()
#1 phar:///usr/local/bin/composer/src/Composer/Plugin/PluginManager.php(195) : eval()'d code(452): Symfony\Flex\ParallelDownloader->download(Array, Object(Closure))
#2 [internal function]: Symfony\Flex\Flex_composer_tmp1->populateProvidersCacheDir(Object(Composer\Installer\InstallerEvent))
#3 phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(176): call_user_func(Array, Object(Composer\Installer\InstallerEvent))
#4 phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(135): Composer\EventDispatcher\EventDispatcher->doDispatch(Object(Composer\Installer\InstallerEvent))
#5 phar:///usr/local/bin/composer/src/Composer/Installer.php(471): Composer\EventDispatcher\EventDispatcher- in /var/www/skeleton/vendor/symfony/flex/src/ParallelDownloader.php on line 246
Fatal error: Uncaught Error: Function name must be a string in /var/www/skeleton/vendor/symfony/flex/src/ParallelDownloader.php:246
Stack trace:
#0 /var/www/skeleton/vendor/symfony/flex/src/ParallelDownloader.php(84): Symfony\Flex\ParallelDownloader->getNext()
#1 phar:///usr/local/bin/composer/src/Composer/Plugin/PluginManager.php(195) : eval()'d code(452): Symfony\Flex\ParallelDownloader->download(Array, Object(Closure))
#2 [internal function]: Symfony\Flex\Flex_composer_tmp1->populateProvidersCacheDir(Object(Composer\Installer\InstallerEvent))
#3 phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(176): call_user_func(Array, Object(Composer\Installer\InstallerEvent))
#4 phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(135): Composer\EventDispatcher\EventDispatcher->doDispatch(Object(Composer\Installer\InstallerEvent))
#5 phar:///usr/local/bin/composer/src/Composer/Installer.php(471): Composer\EventDispatcher\EventDispatcher- in /var/www/skeleton/vendor/symfony/flex/src/ParallelDownloader.php on line 246
Environment
OS: Ubuntu 16.04
PHP: 7.2.5
That only happens when I use composer require I just did an update and updated some packages included the ones which flex didn't install but didn't throw any error
Is this a bug?
It is a recent bug raised in Flex 1.0.81, upgrade to 1.0.82 (which is the same as 1.0.80) as a hotfix.
Ref: https://github.com/symfony/flex/issues/381
I hope you can help me. I had installed a Theme but i have now this error, what can i do ?
Fatal error: Uncaught Error: Method name must be a string in /Users/vkirov/sworkspace/payin7/payin7-blog/wp-content/themes/ausart/themeple_framework/system/view-gen.inc.php:319 Stack trace: #0 /Users/vkirov/sworkspace/payin7/payin7-blog/wp-content/themes/ausart/themeple_framework/system/view-gen.inc.php(51): themeple_viewgen->generate_element(Array) #1 /Users/vkirov/sworkspace/payin7/payin7-blog/wp-content/themes/ausart/themeple_framework/system/admin-pages-gen.inc.php(168): themeple_viewgen->generate_base_container(Array, 'active_section') #2 /Users/vkirov/sworkspace/payin7/payin7-blog/wp-includes/class-wp-hook.php(286): themeple_adminpages_gen->view_html('') #3 /Users/vkirov/sworkspace/payin7/payin7-blog/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #4 /Users/vkirov/sworkspace/payin7/payin7-blog/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /Users/vkirov/sworkspace/payin7/payin7-blog/wp-admin/admin.php(224): do_action('toplevel_page_t...') #6 {main} thrown in /Users/vkirov/sworkspace/payin7/payin7-blog/wp-content/themes/ausart/themeple_framework/system/view-gen.inc.php on line 319
Make sure to have the required php version installed in your server. Theme has a php version limit, any php newer than that (i suppose 5.6) can cause errors.
i have obtained this error on installing prestashop. My php version when its done is php 7.0 but when it updates it shows like this but the admin panel has only this problem occures
Uncaught Error: Call to undefined function simplexml_load_string() in
/var/www/html/prestashop6/prestashop/classes/controller/AdminController.php:2151
Stack trace: #0
/var/www/html/prestashop6/prestashop/classes/controller/AdminController.php(2115):
AdminControllerCore->filterTabModuleList() #1
/var/www/html/prestashop6/prestashop/classes/controller/AdminController.php(1598):
AdminControllerCore->addToolBarModulesListButton() #2
/var/www/html/prestashop6/prestashop/classes/controller/AdminController.php(2030):
AdminControllerCore->initToolbar() #3
/var/www/html/prestashop6/prestashop/controllers/admin/AdminLoginController.php(136):
AdminControllerCore->initContent() #4
/var/www/html/prestashop6/prestashop/classes/controller/Controller.php(189):
AdminLoginControllerCore->initContent() #5
/var/www/html/prestashop6/prestashop/classes/Dispatcher.php(367):
ControllerCore->run() #6
/var/www/html/prestashop6/prestashop/admin1/index.php(58):
DispatcherCore->dispatch() #7 {main} thrown in
/var/www/html/prestashop6/prestashop/classes/controller/AdminController.php
on line 2151
Can someone help me to understand why this error happens?