• Mindaugas52

    (@mindaugas52)


    or I’m retarded. Either way this plugin is too difficult.

    $zur_sesija = WP_Session::get_instance();
     	function qqwwee(){
    		global $zur_sesija;
    		if (is_page(294)){
    			$zur_sesija['errorai'] = 'qq';
    
    		}
    		return;
    	}
    echo $sesija['errorai'];

    outputs:
    Fatal error: Class 'WP_Session' not found

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Eric Mann

    (@ericmann)

    This is a support request, not a review. A 1-star review because you can’t figure things out is unprofessional.

    If the class is not found, then I’d ask first where you’ve included the plugin and where this code is set up. You’ve likely activated the plugin and are adding this code before active plugin classes are available.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Doesn't work’ is closed to new replies.