Fatal error: Using $this when not in object
-
I installed the plugin and activated. Didn’t like the style shown on my plugins page (Just needed a simple list w/o any pics). I disabled plugin and attempted to delete all files, and received php error shown.
Fatal error: Using $this when not in object context in /home/user/public_html/wp-content/plugins/list-plugins/list-plugins.php on line 99 –
That part of the file reads like this:// DELETE FILES if needed SLFramework_Utils::rm_rec(WP_CONTENT_DIR."/sedlex/".$this->get_param('path')."/"); $plugins_all = get_plugins() ; $nb_SL = 0 ; foreach($plugins_all as $url => $pa) { $info = pluginSedlex::get_plugins_data(WP_PLUGIN_DIR."/".$url); if ($info['Framework_Email']=="[email protected]"){ $nb_SL++ ; }
I’m not much of a php guy, so I’d appreciate any help in deleting plugin.
Thanks
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Fatal error: Using $this when not in object’ is closed to new replies.