09/25/2018 at 3:20 pm
#473263
Participant
Steven:
I just noticed there was a space at the end of the variable and the method was treating it like a string instead of an integer id:
“662 ”
After adding this code everything started working:
$result = $instance->retrieve->entry( (int)trim(self::$entryID) );
this might be overkill and im a noob at PHP but this fixed it for me.. Can you please confirm my fix to be true?