WordPress.org

Forums

(De)Activate Plugins from Command-Line -- Object Cache Problems (1 post)

  1. JS Morisset
    Member
    Posted 2 years ago #

    Hi everyone,

    I wrote a PHP script to activate and deactivate plugins from the command line. It appears to work fine, except WP isn't seeing the changes. After disabling the persistent APC object cache, WP still doesn't see the changes until I re-load the admin plugin web page. I've tried using the wp_cache_flush() command (and others), but nothing seems to work.

    Am I missing something obvious here? :)

    http://surniaulula.com/wp-content/uploads/crayon/wp-plugins.php

    Thanks,

    js.

Topic Closed

This topic has been closed to new replies.

About this Topic