Symptoms
WP Toolkit will give errors or return no data when logged into cPanel on the 'cpanel' service subdomain of a server with ea-nginx installed.
"Install"
Attempting to install a new WordPress site is not possible because all of the dropdown menus show "No options" instead of expected values, such as the domain, language, and WordPress version. There is also a warning near the top of the installation page that says the following.
Your hosting plan does not allow you to create any more databases. This WordPress installation will use an existing database instead of creating a new one.
"Setup"
Clicking "Setup" for an existing WordPress installation gives the following error message.
Something went wrong. Cannot read properties of undefined (reading 'find').
"Login"
Clicking on the "Login" button will open a new browser tab, but the admin site is never loaded.
"Plugin" and "Themes" tabs
Accessing the "Plugins" or "Themes" tabs will display one of the following error messages.
Something went wrong.
n.map is not a function
Something went wrong.
t.map is not a function
Description
This issue occurs when the domain is proxied through ea-nginx and the service subdomain is used.
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-41413. Follow this article to receive an email notification when a solution is published in the product.
Workaround
This can be worked around by accessing cPanel with either the server's IP or a non-service subdomain on port 2083.