• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Cannot log in with WP Toolkit, pathing problem

sashman13

New Pleskian
So, I felt like we had a theme issue or conflict that didn't work well with wp toolkit, but I've hit several sites now with different themes that all have the same issue with wp toolkit commands. I'm not 100% sure what the issue is but I tracked it down to a pathing problem in one of wp's core functions where it's not returning the correct info only on wp toolkit function calls.

Error :

Warning: require(/var/www/vhosts/browstobraziliansla.com/httpdocs/wp-content/themes//includes/settings-functions.php): Failed to open stream: No such file or directory in /var/www/vhosts/browstobraziliansla.com/httpdocs/wp-content/themes/hello-elementor/functions.php on line 193

PHP Fatal error: Uncaught Error: Failed opening required '/var/www/vhosts/browstobraziliansla.com/httpdocs/wp-content/themes//includes/settings-functions.php' (include_path='.:/opt/plesk/php/8.1/share/pear') in /var/www/vhosts/browstobraziliansla.com/httpdocs/wp-content/themes/hello-elementor/functions.php:193

It was tough to spot, but indeed the path is wrong. themes//includes, it's missing the theme folder and should be themes/hello-elementor/includes. It's a core wp function doing this:

require get_template_directory() . '/includes/settings-functions.php';

We have three completely different sites doing this now. Everything else is running fine but toolkit. Anyone else see this problem before?
 
Thank you for letting us know, @sashman13. I'll ask the team whether we have a clue what is going on. I've recently seen the same on another users's website, but it is unclear whether it is an issue with a specific plugin or whether it's an WP Toolkit issue.
 
We've logged an issue report as PPS-15230 on this. At the moment it is not clear whether this is an issue of the WP Toolkit. I know of at least one customer who experiences the same issue when not using WP Toolkit, but trying to login to Wordpress directly for example.
 
Resolved in WP Toolkit 6.2.12, published November 17th, 2023. @sashman13 Please update your WP Toolkit to the latest version that was published today. It should already resolve the issue.
 
Ok, hopefully this isn't a dumb question, but how do you upgrade from 6.2.11 to 6.2.12? I'm not seeing the upgrade in Plesk upgrades, where we usually upgrade. Is there an upgrade specifically for WP Toolkit? Thanks!
 
Back
Top