is this plugin still maintained? over 1 month no feedback!
Beside the mentioned problem there is another one occurring which leads to the following error message.
Notice: Undefined index: SCRIPT_URL in /home/user/web/app/plugins/xtra-settings/xtra.php on line 30
Notice: Undefined index: SCRIPT_URI in /home/user/web/app/plugins/xtra-settings/xtra.php on line 30
The line itself says the following:
define( ‘XTRA_HOST’, str_replace($_SERVER[‘SCRIPT_URL’],””,$_SERVER[‘SCRIPT_URI’]) );
When you try to login you simply can’t as it seems to redirect you elsewhere and can’t find the URL for the backend.
How to solve this issue, which is happening when you convert a vanilla wp site to a bedrock wp site.
vanilla_wp
public_html/wp/wp-content/plugins/
public_html/wp/wp-includes/
public_html/wp/wp-admin/
public_html/wp-config.php
bedrock_wp
web/app/plugins/
web/wp/wp-includes/
web/wp/wp-admin/
config/application.php (holds all wp-config settings)
.env (holds al secured data like db, password, etc.)
When now a change occurs which writes to wp-config.php a ZERO byte or a xxx byte wp-config.php file gets created in the web/wp/ directory – in a bedrock installation there is no wp-config.php file at this place and if now a file gets created the site crashes.
The plugin also does not seem to check which options have already been activated and when activated checks them automatically or even better “deactivates the checkbox” so that a second time checking and then writing to this wp-config.php file isn’t possible as it would only double actually the efforts which are already in place and written in config/application.php