How to Overwrite validate_plugin function

My solution: generate a backtrace in the function and bail early if called from validate_active_plugins(). function action_option_active_plugins( $value, $option ) { // Look at the call backtrace and bail early if called from validation function. $backtrace = debug_backtrace( 2 ); // Exclude [‘object’] and [‘args’] foreach( $backtrace as $frame ) { if( $frame[‘function’] === ‘validate_active_plugins’ … Read more

WordPress Permission Problems on Ubuntu 12.04 with LAMP stack

I believe the “lamp-server” package in Ubuntu fails to install mod-suphp, which would likely solve most of your permission problems. Try installing the libapache2-mod-suphp package. And undo everything you did with the permissions. The WordPress install should not be owned by the apache user, it should be owned by the real user.