I'm not sure if it's a PHP version mismatch or something, but on my end, the $output_url inside the setCallback() was empty, so it wasn't ever doing the portal() find/replace. Here's an attempt at fixing that. Not sure if there's a cleaner way though.
I'm not sure if it's a PHP version mismatch or something, but on my end, the $output_url inside the
setCallback()
was empty, so it wasn't ever doing theportal()
find/replace. Here's an attempt at fixing that. Not sure if there's a cleaner way though.