Skip to content

Fatal error: Uncaught BadMethodCallException #12

@ookris

Description

@ookris

Describe the bug
I get this error after updating YOURLS to the latest one.

Fatal error: Uncaught BadMethodCallException: Class 'YOURLS\Database\YDB' does not have a method 'get_results' in /public_html/out/includes/vendor/aura/sql/src/AbstractExtendedPdo.php:113 Stack trace: #10 /public_html/out/user/plugins/yourls-popular-clicks-extended/plugin.php(161): Aura\Sql\AbstractExtendedPdo->__call('get_results', Array) #1 /public_html/out/user/plugins/yourls-popular-clicks-extended/plugin.php(248): vaughany_show_specific_period('2022-04-29 18', 'hour', 20, 'this hour (29th...') #2 /public_html/out/includes/functions-plugins.php(819): vaughany_popularclicksextended_display_page() #3 /public_html/out/admin/plugins.php(8): yourls_plugin_admin_page('popularclicksex...') #4 {main} thrown in /public_html/out/includes/vendor/aura/sql/src/AbstractExtendedPdo.php on line 113

Steps to reproduce the behavior:
The error shows up in the plug-in menu.

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