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

Already on GitHub? Sign in to your account

Call-time pass-by-reference errors #69

Closed
mercime opened this Issue Jan 22, 2012 · 3 comments

Comments

Projects
None yet
2 participants

mercime commented Jan 22, 2012

WP_DEBUG is true - and I was testing my bp-default child theme with different BP plugins. Upon activation of your plugin:

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /xxx/xxx/xxx/wp-content/plugins/buddypress-courseware/courses/courses.class.php on line 328

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /xxx/xxx/xxx/wp-content/plugins/buddypress-courseware/groups/groups.class.php on line 129

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /xxx/xxx/xxx/wp-content/plugins/buddypress-courseware/groups/groups.class.php on line 168

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /xxx/xxx/xxx/wp-content/plugins/buddypress-courseware/groups/groups.class.php on line 170

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /xxx/xxx/xxx/wp-content/plugins/buddypress-courseware/activity/activity.class.php on line 68

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /xxx/xxx/xxx/wp-content/plugins/buddypress-courseware/activity/activity.class.php on line 69

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /xxx/xxx/xxx/wp-content/plugins/buddypress-courseware/activity/activity.class.php on line 98

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /xxx/xxx/xxx/wp-content/plugins/buddypress-courseware/activity/activity.class.php on line 99

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /xxx/xxx/xxx/wp-content/plugins/buddypress-courseware/activity/activity.class.php on line 133

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /xxx/xxx/xxx/wp-content/plugins/buddypress-courseware/activity/activity.class.php on line 134

Thank you.

mercime commented Jan 22, 2012

BP 1.5.3.1 and WP 3.3.1

Owner

stas commented Jan 22, 2012

Thanks,
did this cause any mis-functions?

În data de Sun, 22 Jan 2012 23:27:11 +0200, mercime
reply@reply.github.com
a scris:

allow_call_time_pass_reference

mercime commented Jan 24, 2012

Stas, as of time of report above, the extent of the courseware testing was limited up to seen how configuration screen of courseware meshed with the bp-default child theme I was making.

The call-time errors showing on screen affected dropdown of my dashboard menus and my menus in the front end so I deactivated it afterwards. I can test courseware more with the child theme later this week and report back.

@stas stas closed this in a92e684 Feb 1, 2012

@stas stas pushed a commit that referenced this issue Oct 9, 2012

sushkov Fix pass-by-reference calls. Closes #69
git-svn-id: https://svn.wp-plugins.org/buddypress-courseware/trunk@498795 b8457f37-d9ea-0310-8a92-e5e31aec5664
493eb91
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment