Skip to content

Not Compatible With PHP 8 #2807

@s22-tech

Description

@s22-tech
  • I've read the Troubleshooting First Steps
  • This request isn't a duplicate of an existing issue, opened or closed
  • I've read the docs and followed them (if applicable)
  • This is not a personal support request that should be posted on the YOURLS Discourse community

Describe the bug
Yourls dies under PHP 8 with multiple errors. Tested with the latest build from github.

Deprecated: Required parameter $ip follows optional parameter $title in /home/public_html/includes/functions-html.php on line 522

Deprecated: Required parameter $clicks follows optional parameter $title in /home/public_html/includes/functions-html.php on line 522

Deprecated: Required parameter $timestamp follows optional parameter $title in /home/public_html/includes/functions-html.php on line 522

Fatal error: Declaration of Aura\Sql\ExtendedPdo::query($statement) must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) in /home/public_html/includes/vendor/aura/sql/src/ExtendedPdo.php on line 796

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmissing templateIssue template is missing and no further action possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions