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 Jordan: +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.24 US$ () /month with PHP, database and many more 

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

Software development: Development of database applications, programming and revision of computer programs & scripts  18.78 US$ () /hour 

 

FAQ – frequently asked questions 

 

Cuba

Austria

Kenya

Guinea

Panama

Lesotho

Liberia

Antigua and Barbuda

Paraguay

Peru

Cameroon

Argentina

Costa Rica

Australia

Germany

Bahamas

Madagascar

Barbados

Belize

Philippines

Uganda

Honduras

Puerto Rico

Malta

Bolivia

Botswana

Marshall Islands

Chile

Rwanda

India

Mauritius

Saint Kitts and Nevis

Saint Vincent and the Grenadines

Saint Lucia

Mexico

Zambia

Samoa

Jamaica

Micronesia, Federated States of

Switzerland

Dominican Republic

Malawi

Seychelles

Namibia

Kiribati

Dominican Republic

Nauru

Sierra Leone

New Zealand

Ecuador

Singapore

El Salvador

Fiji

Solomon Islands

Gambia

Spain

Nicaragua

Sudan

Nigeria

Swaziland

South Africa

Pakistan

Palau

Tanzania, United Republic of

Colombia

Ghana

Tonga

Trinidad and Tobago

Guyana

Tuvalu

Uruguay

Papua New Guinea

Venezuela

United States

Ireland

Canada

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 Jordan: +49 30 32 70 18 92 •  GmbH, Sensburger Allee 27, D-14055 Berlin (Germany)
Your purchase is tax-free, because you order from a non-EU country. © 2024  GmbH. All rights reserved. and the logo are registered trademarks of GmbH. For photo credits see imprint.

Imprint Privacy policy Sitemap