Tickets are not created or viewed when WP_DEBUG is true
-
I think this is a little bug that need to be fixed quickly, when the wordpress debug is enabled, no tickets are created and the the tickets cretated for the current_user are not seen…
Here is the deprecatio error message…..
Deprecated: Using ${var} in strings is deprecated, use {$var} instead in?C:\xampp\htdocs\callismart\wp-content\plugins\fluent-support\app\Models\Person.php?on line?134
here is the relevant line of the code above
$defaultAvatar = get_option('avatar_default'); if('gravatar_default' === $defaultAvatar){ return apply_filters( 'fluent_support/get_avatar', "https://www.gravatar.com/avatar/${hash}?s=128", $email ); }else{ return apply_filters( 'fluent_support/get_avatar', get_avatar_url('', array('default' => $defaultAvatar)), $email ); } }I had to quickly fix this issue for myself by editing? ? ? ? ? ? ? ? “https://www.gravatar.com/avatar/${hash}?s=128”, on line 134 of C:\xampp\htdocs\callismart\wp-content\plugins\fluent-support\app\Models\Person.php
to this:
“https://www.gravatar.com/avatar/{$hash}?s=128”,I sincerely hope this issue is fixed for all users..
- The topic ‘Tickets are not created or viewed when WP_DEBUG is true’ is closed to new replies.