• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

WordPress Toolkit Maintenance PHTML Error

Alex Miller

New Pleskian
TITLE:
WordPress Toolkit Maintenance PHTML Error
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Plesk 17.5.3x on CentOS 7.3, WordPress 4.8.2
PROBLEM DESCRIPTION:
I'm receiving the following error in my WordPress debug.log:

`[01-Nov-2017 05:01:22 UTC] PHP Notice: Undefined variable: timer in /wp-content/maintenance/template.phtml on line 22`

This is happening throughout all my sites and is not limited to just 1 install.​
STEPS TO REPRODUCE:
  • Enable WP_DEBUG and WP_DEBUG_LOG flag in wp-config.php
  • Update WordPress
ACTUAL RESULT:
The error writes to my debug log every time WordPress updates​
EXPECTED RESULT:
The expected result is nothing get written to my debug log.​
ANY ADDITIONAL INFORMATION:
Can we add additional checks and balances to the PHTML code to ensure features are enabled and variables are set?

Maybe check if `$timer` isset before using it:

`if( isset( $timer ) && $timer['enabled'] )`

I'm hoping the issue gets looked into and updated. My debug logs are kept running to track actual issues with the WordPress install so they can be resolved accordingly.
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
Thanks for looking into this! The wp.org thread was also created by me to narrow down where the maintenance files were coming from. If you need any further information to help resolve this issue I'd be glad to help. We'll update the files on our end in hopes that WPT team will push out an update soon!
 
Thank you. Bug was confirmed and submitted as EXTWPTOOLK-972.
 
Thank you. Bug was confirmed and submitted as EXTWPTOOLK-972.

I originally thought by removing the maintenance files they would be re-added with the fix in place but as of 11/30/2017 I'm still seeing the same error. Is there an ETA on the implementation of the fix or is there a repo where I can track the submitted issue `EXTWPTOOLK-972`?
 
Back
Top