Bug in user fields when in ie. search.php
-
There is a bug in Types (at least v. 2.2.1) in types/library/toolset/types/embedded/usermeta-init.php at line 366:
$post_id = $post->ID;
In some cases $post might not be set and it throws an error message. To fix it, you should check if $post is set before trying to access ID:
if(isset($post)){
$post_id = $post->ID;
…
}Hope this helps.
— Lauri
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Bug in user fields when in ie. search.php’ is closed to new replies.