Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix earnings by category report page #4098

Closed
wants to merge 1 commit into from
Closed

Fix earnings by category report page #4098

wants to merge 1 commit into from

Conversation

leewillis77
Copy link
Contributor

Currently the "earnings by category" fails. This is possibly a WP 4.4+ only issue, although I haven't tried on previous to confirm I'm afraid.

Backtrace below is from HHVM - although I've verified the same error occurs under PHP.

Fatal error: Uncaught exception 'BadMethodCallException' with message 'Call to a member function render_screen_reader_content() on a non-object (null)' in /var/www/plugins/wp-admin/includes/class-wp-list-table.php:1128\nStack trace:\n
#0 /var/www/plugins/wp-content/plugins/easy-digital-downloads/includes/admin/reporting/reports.php(258): WP_List_Table->display()\n
#1 /var/www/plugins/wp-includes/plugin.php(525): edd_reports_categories()\n
#2 /var/www/plugins/wp-content/plugins/easy-digital-downloads/includes/admin/reporting/reports.php(106): do_action()\n
#3 /var/www/plugins/wp-includes/plugin.php(525): edd_reports_tab_reports()\n
#4 /var/www/plugins/wp-content/plugins/easy-digital-downloads/includes/admin/reporting/reports.php(39): do_action()\n
#5 /var/www/plugins/wp-includes/plugin.php(525): edd_reports_page()\n
#6 /var/www/plugins/wp-admin/admin.php(236): do_action()\n
#7 /var/www/plugins/wp-admin/edit.php(10): include()\n#8 {main}

Patch attached which resolves this.

@pippinsplugins
Copy link
Contributor

@leewillis77 This has been fixed in the release/2.5 branch already. See #4081

@leewillis77
Copy link
Contributor Author

Awesome - thanks Pippin. Hope you've had a great Christmas!

[PS. your support form still had an out-of-office till the 28th December on earlier today]

@pippinsplugins
Copy link
Contributor

Just fixed the auto reply :)

On Wed, Dec 30, 2015 at 5:15 PM, Lee Willis notifications@github.com
wrote:

Awesome - thanks Pippin. Hope you've had a great Christmas!

[PS. your support form still had an out-of-office till the 28th December
on earlier today]


Reply to this email directly or view it on GitHub
#4098 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants