Replies: 1 comment 3 replies
-
|
I removed '(interval)' from '$oldsql = (intval)($_GET['oldsql']);' in line 32 of the update.php file. The update "completed." I'm not sure what it actually did, but the install is working now. I put the line back to '$oldsql = (intval)($_GET['oldsql']);' afterward, but I suspect there's an issue here. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I cannot figure out this one: Undefined constant "intval"
I tried updating. Followed directions and replaced files in the root, then even dug down and made sure updates were made. I updated PHP to 8.0 (it was too low). I then was prompted to update (Upgrade YOURLS Your current installation needs to be upgraded.), but Yourls is already showing 1.9. When I hit the "Update" button (which shouldn't be necessary since I manually updated, I get:
Fatal error: Uncaught Error: Undefined constant "intval" in /admin/upgrade.php:32 Stack trace: #0 {main} thrown in /admin/upgrade.php on line 32
Beta Was this translation helpful? Give feedback.
All reactions