BEGIN not safe after errors compilation aborted
We don't really use the WP Toolkit as few of our hosted sites run it, that said it's worth noting that the following errors were recently logged that are related to the wptoolkit.
Are we unique here or has this error been experienced by others?
/usr/local/cpanel/logs/error_log:
[2025-07-17 06:38:37 +1000]: “/usr/local/cpanel/scripts/restartsrv_cpanel_php_fpm ” called by (4133453 - /bin/sh /var/tmp/rpm-tmp.FYyku2 1)
BEGIN not safe after errors--compilation aborted at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/IPC/Run.pm line 1449.
Compilation failed in require at /usr/local/cpanel/Cpanel/Config/ConfigObj/Driver/WpToolkitHireDeveloper/META.pm line 7.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Config/ConfigObj/Driver/WpToolkitHireDeveloper/META.pm line 7.
Compilation failed in require at (eval 167) line 1.
[2025-07-17 06:38:53 +1000]: “/usr/local/cpanel/scripts/restartsrv_cpanel_php_fpm ” called by (4133876 - bash /usr/local/cpanel/3rdparty/wp-toolkit/bin/install-rpm.sh)
-
Hey there! It would help to know what specific work you were performing that led to those errors, and if this is something you can reproduce or if it was a one-time event.
0 -
Apologies cPRex, I should know better!
No work on the server at all mate, I just picked it up whilst scanning log files.
The only thing that I can see around that time is the toolkit running its own installer.
Jul 17 06:36:03 sudo[4132743]: wp-toolkit : PWD=/usr/local/cpanel/3rdparty/wp-toolkit/scripts ; USER=root ; COMMAND=/bin/sh -c '/usr/local/cpanel/3rdparty/wp-toolkit/bin/wp-toolkit-installer.sh --generate-configs --version 6.7.3'
CloudLinux v8.10.0 STANDARDcPanel Version 128.0.7Cheers.
0 -
An error without context doesn't really mean much to me. But no, I don't have any matches in our ticket system for this so you may be in uncharted territory.
1 -
Completely understand. Just fielding the question, thanks as always.
0
Please sign in to leave a comment.
Comments
4 comments