You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Croppa::render() was not working and was returning false. I traced the problem to the parse function in the URL class. The issue was the const PATTERN. I deleted the last character and from this:
The text was updated successfully, but these errors were encountered:
Don404
changed the title
Croppa::render() not working due to PATTERN issue with last character.
Croppa::render() not working due to PATTERN issue in the URL class.
May 7, 2020
That dollar sign at the end of the pattern caused some kind of problem and if (!preg_match('#'.self::PATTERN.'#', $request, $matches)) return false; was returning always false. After I removed the $ the issue was fixed and the preg_match was matching everything as expected.
Croppa::render() was not working and was returning
false
. I traced the problem to the parse function in the URL class. The issue was the const PATTERN. I deleted the last character and from this:became
and now works like a charm.
The text was updated successfully, but these errors were encountered: