Support » Plugin: Redis Object Cache » Metrics and Diagnostics tabs throwing PHP Error

  • Resolved David Bee

    (@davidbawiec)


    The Diagnostics tab is unable to require the proper template file. It seems to have everything to do with the fact that it’s adding an incorrect /../ in the path.

    
    Error message:
    require(): Failed opening required '/wp-content/plugins/redis-cache/includes/ui/../diagnostics.php' (include_path='.:/usr/share/php')
    
     in include called at /wp-content/plugins/redis-cache/includes/ui/class-tab.php (167)
     in Rhubarb\RedisCache\UI\Tab::display called at /wp-content/plugins/redis-cache/includes/ui/settings.php (59)
     in require_once called at /wp-content/plugins/redis-cache/includes/class-plugin.php (195)
     in Rhubarb\RedisCache\Plugin::show_admin_page called at /wp-includes/class-wp-hook.php (303)
     in WP_Hook::apply_filters called at /wp-includes/class-wp-hook.php (327)
     in WP_Hook::do_action called at /wp-includes/plugin.php (470)
     in do_action called at /wp-admin/admin.php (259)
     in require_once called at /wp-admin/options-general.php (10)
    
    • This topic was modified 3 weeks, 3 days ago by David Bee.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    Thanks for reporting this. What version are you using?

    Plugin Author Till Krüss

    (@tillkruess)

    Did you install the master branch from GitHub via Composer?

    Thread Starter David Bee

    (@davidbawiec)

    Hi Till!

    Thanks for your patience with the reply, was traveling.

    I actually installed it from the WP repo here. It’s the latest version 2.0.21.

    Thread Starter David Bee

    (@davidbawiec)

    Wah-wah. Just checked and this was totally my fault. The diagnostics.php file was accidentally being caught by a slightly too general gitignore rule on my end and thus just didn’t get included in the deployment code. Once I fixed that everything works perfectly again. So please ignore. Thanks a ton for your willingness to resolve it!

    Cheers!
    David

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.