Hi there,
For security reasons, I have changed the path for my wp-content location on all my wp sites to xyzabc-wp-content. It has served me well in avoiding numerous attacks over the years.
Of course, the new path is defined in my wp-config.php file and my sites work perfectly fine.
However, I cannot connect to WordPress Toolkit because it is trying to find the plugin in a location that does not exist. How can I rectify this?
Here is my error:
AH01071: Got error 'PHP message: PHP Warning: require_once(wp-content/plugins/wp-toolkit-management-plugin/wp-toolkit-management-plugin-agent.php): Failed to open stream: No such file or directory in /var/www/vhosts/mywebsite.com/httpdocs/wp-toolkit-entry-point.php on line 6PHP message: PHP Fatal error: Uncaught Error: Failed opening required 'wp-content/plugins/wp-toolkit-management-plugin/wp-toolkit-management-plugin-agent.php' (include_path='.:/opt/plesk/php/8.0/share/pear') in /var/www/vhosts/mywebsite.com/httpdocs/wp-toolkit-entry-point.php:6\nStack trace:\n#0 {main}\n thrown in /var/www/vhosts/mywebsite.com/httpdocs/wp-toolkit-entry-point.php on line 6'
For security reasons, I have changed the path for my wp-content location on all my wp sites to xyzabc-wp-content. It has served me well in avoiding numerous attacks over the years.
Of course, the new path is defined in my wp-config.php file and my sites work perfectly fine.
However, I cannot connect to WordPress Toolkit because it is trying to find the plugin in a location that does not exist. How can I rectify this?
Here is my error:
AH01071: Got error 'PHP message: PHP Warning: require_once(wp-content/plugins/wp-toolkit-management-plugin/wp-toolkit-management-plugin-agent.php): Failed to open stream: No such file or directory in /var/www/vhosts/mywebsite.com/httpdocs/wp-toolkit-entry-point.php on line 6PHP message: PHP Fatal error: Uncaught Error: Failed opening required 'wp-content/plugins/wp-toolkit-management-plugin/wp-toolkit-management-plugin-agent.php' (include_path='.:/opt/plesk/php/8.0/share/pear') in /var/www/vhosts/mywebsite.com/httpdocs/wp-toolkit-entry-point.php:6\nStack trace:\n#0 {main}\n thrown in /var/www/vhosts/mywebsite.com/httpdocs/wp-toolkit-entry-point.php on line 6'