PHP 7 Bug		
	
	
	
		
	
	
	
	
	
		
		
				
		- 
			mikefarmer80
		
- 
													Topic Author
											
- 
				
	Offline
			
- 
				New Member			
- 
				  
		Less
		More
		
			
									- 
						Posts: 4					
- 
						Thank you received: 0					
- 
											
- 
											
 
	 
		 
		
			
	
						9 years 3 months ago				#5214
		by mikefarmer80
	
	
		
			
			
				I just bought the enterprise edition of ReDJ having read it should work with php 7.
Unfortunately, I got this error message and it's not working at all on Joomla 3.6.0:
Parameter 1 to plgSystemReDJ::customError() expected to be a reference, value given in /homepages/xxx/libraries/legacy/error/error.php on line 781
Line 781 is: return call_user_func($options, $error);
Any ideas? 
 
			 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
	
		Less
		More
		
			
									- 
						Posts: 3194					
- 
						Thank you received: 441					
- 
											
- 
											
 
	 
		 
		
			
	
						9 years 3 months ago				#5215
		by admin
	
	
		
			
			
				Hi,
this is a returning problem, but is not related to PHP7. It is due to a legacy error management in old Joomla version.
I am going to fix this definitively. I will be back asap.
Kind regards,
Luigi			
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
		- 
			mikefarmer80
		
- 
													Topic Author
											
- 
				
	Offline
			
- 
				New Member			
- 
				  
		Less
		More
		
			
									- 
						Posts: 4					
- 
						Thank you received: 0					
- 
											
- 
											
 
	 
		 
		
			
	
						9 years 3 months ago				#5216
		by mikefarmer80
	
	
		
			
			
				Mhmm, strange, ReDJ is working fine on Joomla 3.6.0  with php 5.6.
Hopefully, you will get it to work soon.			
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
	
		Less
		More
		
			
									- 
						Posts: 3194					
- 
						Thank you received: 441					
- 
											
- 
											
 
	 
		 
		
			
	
						9 years 3 months ago				#5217
		by admin
	
	
		
			
			
				Sorry,
I am not ableto replciate the issue but I think I got the problem. Could you, pls, edit the plugin\system\redj.php file and change line 628:
static function customError(&$error)
With this:
static function customError(JException &$error)
Let me know if it works so I can apply to master code.
Kind regards,
Luigi			
 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
		- 
			mikefarmer80
		
- 
													Topic Author
											
- 
				
	Offline
			
- 
				New Member			
- 
				  
		Less
		More
		
			
									- 
						Posts: 4					
- 
						Thank you received: 0					
- 
											
- 
											
 
	 
		 
		
			
	
						9 years 3 months ago				#5218
		by mikefarmer80
	
	
		
			
			
				Unfortunately, the changed line has no effect on the error message:-(.			
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
	
		Less
		More
		
			
									- 
						Posts: 3194					
- 
						Thank you received: 441					
- 
											
- 
											
 
	 
		 
		
			
	
						9 years 3 months ago				#5219
		by admin
	
	
		
			
			
				Can you help me to replicate the issue?
What URL you are calling? Is there a rule? Which are ReDJ plugin settings?
Please, send me an email at info(at)selfget.com.			
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
 
	
		
	
	
	
	
	
	
 
	
		Time to create page: 0.155 seconds