WPIntell

Source evidence

[Plugin: WP Birthday Users] eror on the widget

WP Birthday Users · support · 2012-08-21T21:47:00+00:00

mixedsentiment
highseverity
0.95relevance
13replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 34 rows with source links

17.6% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
abezing resolved
This is what I get when I put the widget in the right column Warning: uasort() [function.uasort]: The argument should be an array in /home/xxxxxx/public_html/wp-content/plugins/wp-birthday-users/widget.php on line 77 Birthdays Warning: Invalid argument supplied for foreach() in /home/xxxxxx/public_html/wp-content/plugins/wp-birthday-users/widget.php on line 87 Please advise…Thanks I have WP-Poll installed as well if it makes any difference http://wordpress.org/extend/plugins/wp-birthday-users/ Do you have members with there birthday? It’s stranges, can you provide me your version, your machine info, php version, webserver version etc… I’m looking at it. Version 0.1.7 WordPress v 3.4.1 windows 7 home php 5.1 I do have acouple with birthday, yes Can you give me the steps you did. which options are on in the widget. Because at the moment I can’t reproduce the problem. There is possible an lack’s mistake in the code, but I think that’s only when there are no users with filled in birthday’s. Also are you sure your wordpress is on windows 7 home? because your error-messages shows like linux-paths OKay can you help me with the following: edit the widget.php page (located for you: /home/xxxxxx/public_html/wp-content/plugins/wp-birthday-users/widget.php ) replace from line 74 to 76 the follow: $usersarray = birthdayslist(); $tocome = $usersarray['come']; $past = $usersarray['past']; to: $usersarray = birthdayslist(); echo "<pre>"; print_r($usersarray); echo "<br /> <hr /> <br />"; $tocome = $usersarray['come']; $past = $usersarray['past']; print_r($tocome); echo "<br /> <hr /> <br />"; print_r($past); echo "</pre>"; or you can replace the widget.php file with this file: wp-birthday-users or directly the file: widget.php.txt ( right click->save as->save it as widget.php (not .txt) go to you page where you get the error: give me the output that it will produce. now I get this error after using your widget.php file —————————————————— Array ( [info] => Array ( [oldest] => admin [youngest] => admin [basedir] => /home/xxxxxx/public_html/wp-content/uploads/birthday.ics [baseurl] => http://ssgfel.com/wp-content/uploads/birthday.ics [today] => 0 [average_age] => 18 [total_users] => 1 ) [past] => Array ( [1] => Array ( [birthday_user] => admin [birthday_date] => 9/8/1994 [birthday_share] => 1 [birthday_age] => [birthday_sort] => 08-09 [birthday_newer] => 08 ) ) ) Array ( [1] => Array ( [birthday_user] => admin [birthday_date] => 9/8/1994 [birthday_share] => 1 [birthday_age] => [birthday_sort] => 08-09 [birthday_newer] => 08 ) ) Warning: uasort() [function.uasort]: The argument should be an array in /home/xxxxx/public_html/wp-content/plugins/wp-birthday-users/widget.php on line 84 ————————————————————— Thx, can you replace the widget.php file with this new file? get widget.php.txt and save it as widget.php in the wp-birthday-user folder. I think that will fix your problem Let me know. Great, no errors, but no birthdays either. Just the header “Birthdays”. I have a couple of subscribers with birthday. please advise No you don’t have. There was only one user with a birthday and that was the admin. If the user doesn’t set the option: share birthday info then it will not shown it. So there can be users that have filled in there birthday but if they don’t select sharing that info it will not been showed. (as admin you see which users has filled in there birthday on the page: birthdays ) the widget is for all users. You can also set options for the widget, like if there are no birthday’s that the widget will be hidden, etc… and if you set past birthdays on (in the widget) then it will show the admin past birthday which is in your database: 9 august 1994 If you give me a login I will register a birthday and you will see it will be appearing. And would you set the broken message on the plugin page back to working? 😀 that would be nice Feel free to ask me anything The error has been fixed in version 0.1.7, so all new users should not have the problem. Other users, can re download the plug-in if the have problems Birthday Share anniversary info Share age info Show your age: 22 y, and this only if you share your anniversary info. I don’t see the share birthday info as you indicated in your response. I do have a subscriber with birthday and still does not show in the widget. As far as the log in, please send me an email address to send it to you. try to send it to here: widgets@reygaert.be Are you sure the user has Share anniversary info on? and is his birthday in the future or already past this year? Grtz I am sorry, but i am using now a simple birthday plug in that is working. If i feel it is not the right solution, I’ll contact you again. Thanks for all your efforts.

Comments

13 shown
omarke85 2012-08-23T09:28:00+00:00

Do you have members with there birthday? It’s stranges, can you provide me your version, your machine info, php version, webserver version etc… I’m looking at it.

abezing 2012-08-23T13:26:00+00:00

Version 0.1.7 WordPress v 3.4.1 windows 7 home php 5.1

abezing 2012-08-23T13:28:00+00:00

I do have acouple with birthday, yes

omarke85 2012-08-24T07:55:00+00:00

Can you give me the steps you did. which options are on in the widget. Because at the moment I can’t reproduce the problem. There is possible an lack’s mistake in the code, but I think that’s only when there are no users with filled in birthday’s. Also are you sure your wordpress is on windows 7 home? because your error-messages shows like linux-paths

omarke85 2012-08-24T08:10:00+00:00

OKay can you help me with the following: edit the widget.php page (located for you: /home/xxxxxx/public_html/wp-content/plugins/wp-birthday-users/widget.php ) replace from line 74 to 76 the follow: $usersarray = birthdayslist(); $tocome = $usersarray['come']; $past = $usersarray['past']; to: $usersarray = birthdayslist(); echo "<pre>"; print_r($usersarray); echo "<br /> <hr /> <br />"; $tocome = $usersarray['come']; $past = $usersarray['past']; print_r($tocome); echo "<br /> <hr /> <br />"; print_r($past); echo "</pre>"; or you can replace the widget.php file with this file: wp-birthday-users or directly the file: widget.php.txt ( right click->save as->save it as widget.php (not .txt) go to you page where you get the error: give me the output that it will produce.

abezing 2012-08-24T22:13:00+00:00

now I get this error after using your widget.php file —————————————————— Array ( [info] => Array ( [oldest] => admin [youngest] => admin [basedir] => /home/xxxxxx/public_html/wp-content/uploads/birthday.ics [baseurl] => http://ssgfel.com/wp-content/uploads/birthday.ics [today] => 0 [average_age] => 18 [total_users] => 1 ) [past] => Array ( [1] => Array ( [birthday_user] => admin [birthday_date] => 9/8/1994 [birthday_share] => 1 [birthday_age] => [birthday_sort] => 08-09 [birthday_newer] => 08 ) ) ) Array ( [1] => Array ( [birthday_user] => admin [birthday_date] => 9/8/1994 [birthday_share] => 1 [birthday_age] => [birthday_sort] => 08-09 [birthday_newer] => 08 ) ) Warning: uasort() [function.uasort]: The argument should be an array in /home/xxxxx/public_html/wp-content/plugins/wp-birthday-users/widget.php on line 84 —————————————————————

omarke85 2012-08-27T08:34:00+00:00

Thx, can you replace the widget.php file with this new file? get widget.php.txt and save it as widget.php in the wp-birthday-user folder. I think that will fix your problem Let me know.

abezing 2012-08-27T15:06:00+00:00

Great, no errors, but no birthdays either. Just the header “Birthdays”. I have a couple of subscribers with birthday. please advise

omarke85 2012-08-28T07:06:00+00:00

No you don’t have. There was only one user with a birthday and that was the admin. If the user doesn’t set the option: share birthday info then it will not shown it. So there can be users that have filled in there birthday but if they don’t select sharing that info it will not been showed. (as admin you see which users has filled in there birthday on the page: birthdays ) the widget is for all users. You can also set options for the widget, like if there are no birthday’s that the widget will be hidden, etc… and if you set past birthdays on (in the widget) then it will show the admin past birthday which is in your database: 9 august 1994 If you give me a login I will register a birthday and you will see it will be appearing. And would you set the broken message on the plugin page back to working? 😀 that would be nice Feel free to ask me anything

omarke85 2012-08-28T07:13:00+00:00

The error has been fixed in version 0.1.7, so all new users should not have the problem. Other users, can re download the plug-in if the have problems

abezing 2012-08-28T22:58:00+00:00

Birthday Share anniversary info Share age info Show your age: 22 y, and this only if you share your anniversary info. I don’t see the share birthday info as you indicated in your response. I do have a subscriber with birthday and still does not show in the widget. As far as the log in, please send me an email address to send it to you.

omarke85 2012-08-29T11:19:00+00:00

try to send it to here: widgets@reygaert.be Are you sure the user has Share anniversary info on? and is his birthday in the future or already past this year? Grtz

abezing 2012-09-02T21:54:00+00:00

I am sorry, but i am using now a simple birthday plug in that is working. If i feel it is not the right solution, I’ll contact you again. Thanks for all your efforts.