Cheap Web Space, Domain Name:
Web Space With E-Mail, PHP/MySQL.

What does "Uncaught TypeError: Argument 1 passed to WP_CLI \ Runner :: WP_CLI" mean?

Question: 

Searching …

 

Unfortunately nothing found on "".

Premium support for Bitpalace web hosting customers only!

 from Malta: +49 30 32 70 18 92, Fax (in Germany) +49 30 32 70 18 91

service@bitpalast.net 

Skype: bitpalast

One moment please … your browser is loading the page.

 

 

Symptom

In the Wordpress Toolkit of your Web space control center, you see the following error message:

PHP Fatal error: Uncaught TypeError: Argument 1 passed to WP_CLI\Runner::WP_CLI\{closure}() must be an instance of Exception, instance of ParseError given in /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:1682 …

If you open the wp-config.php file of your Wordpress website in a Linux editor (for example vi, vim), you will see the string "" at the beginning of the file. If you open the same file with a text editor such as the Windows Notepad or view it with the Linux "less" command, you will not see these characters.

 

Cause

You have edited the wp-config.php file of your website. Due to a character set inconsistency, an "invisible" UTF8 character has been written to the beginning of the file. The Wordpress Toolkit no longer recognizes the file as a valid wp-config.php file.

 

Solution

The character cannot be removed by editing with a standard Linux editor like "vi". The correct solution is to filter the erroneous UTF8 characters from the file, e.g. with the scripting language "awk". This can be done, for example, with this command sequence on the Linux command line:

awk '{ if (NR==1) sub(/^\xef\xbb\xbf/,""); print }' wp-config.php > wp-config_new.php
cp wp-config_new.php wp_config.php

After the corrupted wp-config.php file has been replaced with the corrected one, update the website entry in the Wordpress Toolkit in the webspace control panel.

However, in Bitpalace ValueWebspace and Bitpalace Business Booster, you cannot run this command yourself. Please contact our support so that your file will be corrected for you free of charge.

 

Overview of frequently asked questions 

 

 

 


 

Additional Services

Starter Server: Affordable web server from  2.49 € /month with PHP, database and many more 

Online Reservation System: Occupancy & vacancy schedule for any ressources (vehicles, sports facilities …) & guest houses, holiday apartments …  4.95 € /month 

Software development: Development of database applications, programming and revision of computer programs & scripts  24.50 € /hour 

 

FAQ – frequently asked questions 

 

Kiribati

Austria

Cameroon

Guinea

Palau

Colombia

Cuba

Antigua and Barbuda

Papua New Guinea

Paraguay

Jamaica

Argentina

Costa Rica

Australia

Germany

Bahamas

Lesotho

Barbados

Belize

Peru

Uganda

Honduras

Philippines

Madagascar

Bolivia

Botswana

Malawi

Chile

Puerto Rico

India

Marshall Islands

Rwanda

Saint Kitts and Nevis

Saint Vincent and the Grenadines

Saint Lucia

Mauritius

Zambia

Samoa

Mexico

Switzerland

Dominican Republic

Liberia

Seychelles

Micronesia, Federated States of

Canada

Dominican Republic

Namibia

Sierra Leone

Nauru

Ecuador

Singapore

El Salvador

Fiji

Solomon Islands

Gambia

Spain

New Zealand

Sudan

Nicaragua

Swaziland

South Africa

Nigeria

Pakistan

Tanzania, United Republic of

Kenya

Ghana

Tonga

Trinidad and Tobago

Guyana

Tuvalu

Uruguay

Panama

Venezuela

United States

Ireland

Jordan

Grenada

Guatemala

United Kingdom

Zimbabwe

 

"Cheap Web Space": Affordable web space, cheap web server, low-cost webserver, low-price web servers: fast web server / small web server (cheap web space). Web server for private homepages / small website projects.

  from Malta: +49 30 32 70 18 92 •  GmbH, Sensburger Allee 27, D-14055 Berlin (Germany)
The prices include 18 % VAT. EU businesses with a valid VAT ID will see their net prices in the order process. © 2024  GmbH. All rights reserved. and the logo are registered trademarks of GmbH. For photo credits see imprint.

Imprint Privacy policy Sitemap