Flintstone
New Member
I use a wp-cli script for creating my staging instance. This is because you don't allow alidswoo to work on https://staging.mydomain.com so I need to disable alidswoo along with my pixel etc. whenever I am working on my staging site.
This is frustrating because I never know whether my site will work properly when I copy it back from staging... I will log a separate issue about that.
Anyhow, I am able to deactivate alidswoo easily from wp-cli:
	
	
	
		
I have never had a problem reactivating a plugin from wp-cli but then when I try to reactivate alidswoo it throws:
	
	
	
		
I would fix this myself but can't because you are using Zend Guard.
			
			This is frustrating because I never know whether my site will work properly when I copy it back from staging... I will log a separate issue about that.
Anyhow, I am able to deactivate alidswoo easily from wp-cli:
		Code:
	
	wp plugin deactivate alidswooI have never had a problem reactivating a plugin from wp-cli but then when I try to reactivate alidswoo it throws:
		Code:
	
	Fatal error: Cannot redeclare woocommerce_variable_add_to_cart() in  on line 0I would fix this myself but can't because you are using Zend Guard.
			
				Last edited: 
			
		
	
								
								
									
	
								
							
							 
				