All Topics
        
	
		
		
		
        
	
	
		
			
		
            
		
	
 
		
		
			
            
    
		
		
		
    
		
			
				
		
    
    
	
	
					format() has first argument as string
Hello,
I’v been getting a PHP Fatal TypeError on the format() function as its first argument type is string, but some other plugin assumes it can send the value as null. Wondering if the string type is intended or not.
Here is the function:
// admin-columns-pro/classes/ConditionalFormat/Service/Formatter.php
  /**
   * Comparisons are done case-insensitive
   */
  public function format( string $value, int $id, AC\Column $column ): string {
I filed a bug with the other plugin (Pods) but thought I would double-check on your side. Here is the bug report:
  https://github.com/pods-framework/pods/issues/6965
Best,
Gilles
You must be logged in to reply to this topic.