Skip to content

PostgreSQL #8

Description

@github-cli

When using postgresql:

Fatal error: Uncaught BadMethodCallException: Class 'YOURLS\Database\YDB' does not have a method 'escape' in /var/www/html/includes/vendor/aura/sql/src/AbstractExtendedPdo.php:113 Stack trace: #0 /var/www/html/includes/functions-deprecated.php(343): Aura\Sql\AbstractExtendedPdo->__call('escape', Array) #1 /var/www/html/includes/functions-deprecated.php(320): yourls_escape_real('') #2 /var/www/html/user/plugins/status-code/plugin.php(41): yourls_escape('') #3 /var/www/html/includes/functions-plugins.php(219): shred_code_find_status_code(302, 'https://example.com/...') #4 /var/www/html/includes/functions.php(264): yourls_apply_filter('redirect_code', 302, 'https://example.com/...') #5 /var/www/html/admin/plugins.php(34): yourls_redirect('https://example.com/...', 302) #6 {main} thrown in /var/www/html/includes/vendor/aura/sql/src/AbstractExtendedPdo.php on line 113

I know postgresql is new on yourls but could you fix this to work with postgresql as well?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions