Opened 15 years ago
Closed 15 years ago
#17422 closed defect (bug) (fixed)
Invalid argument supplied for foreach() in wp-admin\credits.php on line 75
| Reported by: | michaelh | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.2 |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Getting Invalid argument supplied for foreach() in C:\xampp\htdocs\wp32\wp-admin\credits.php on line 75 error clicking on Credits link in admin footer.
(3.2-beta1-17916)
Attachments (1)
Change History (9)
#3
@
15 years ago
I'm seeing the same here, Andrew.
Here's plain text: http://d.pr/IkbJ
#4
@
15 years ago
It would probably help if I deployed my changes to production. :-)
Should work now upon transient refresh.
#5
@
15 years ago
Right. Having removed the transient, credits.php loads as expected.
As I understand, anyone previously running trunk with this issue will not see it in ~12 hours or so (assuming they don't remove the transient and they've updated).
#6
follow-up:
↓ 7
@
15 years ago
credits.php gets cached for a week locally. Not ideal for testing, but no need to fetch data often.
On the other hand, since it's likely to be a rarely accessed page, I can drop it a bit.
#7
in reply to: ↑ 6
@
15 years ago
Replying to nacin:
credits.php gets cached for a week locally. Not ideal for testing, but no need to fetch data often.
Ah yes, was reading my own timeout.
On the other hand, since it's likely to be a rarely accessed page, I can drop it a bit.
Seems fine as-is. And if if the content doesn't get downloaded there's a fallback message.
Anything remaining? I vote resolving 'worksforme' (caveat: clear credits transient).
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Could you do a var_dump() of get_site_transient('wordpress_credits');
I can add more defensive checks but I need to know what's wrong.