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

Warning: in_array() expects parameter 2 to be array, null given in includes/classes/files-in.inc.php on line 1001 #901

Closed
raamdev opened this Issue Mar 14, 2016 · 5 comments

Comments

Projects
None yet
3 participants
@raamdev
Contributor

raamdev commented Mar 14, 2016

This line in files-in.inc.php uses $cf_stream_extn_resource_exclusions, but it appears that variable has not been defined anywhere, which results in a warning:

Warning: in_array() expects parameter 2 to be array, null given in includes/classes/files-in.inc.php on line 1001


Referencing internal ticket: https://websharks.zendesk.com/agent/tickets/11605

@raamdev raamdev added this to the Next Release milestone Mar 14, 2016

@renzms

This comment has been minimized.

Contributor

renzms commented Mar 15, 2016

@raamdev

This comment has been minimized.

Contributor

raamdev commented Mar 15, 2016

Possibly related: #902

@jaswrks jaswrks referenced this issue Mar 23, 2016

Merged

PR: feature/901 #913

jaswrks pushed a commit that referenced this issue Mar 23, 2016

@jaswrks

This comment has been minimized.

Member

jaswrks commented Mar 23, 2016

Hmm. It looks like a line was removed by mistake when this work was performed.
Referencing: f7854a8

jaswrks pushed a commit that referenced this issue Mar 23, 2016

@jaswrks

This comment has been minimized.

Member

jaswrks commented Mar 23, 2016

Next Release Changelog:

  • (s2Member/s2Member Pro) Bug Fix: This release corrects a bug first introduced in the previous release which was causing a PHP warning about cf_stream_extn_resource_exclusions. Props at @raamdev @renzms for reporting. See also this GitHub issue for details.

@jaswrks jaswrks closed this Mar 23, 2016

@jaswrks

This comment has been minimized.

Member

jaswrks commented Apr 23, 2016

s2Member & s2Member Pro v160423 have been released and they include changes from this GitHub Issue. See the v160423 announcement for further details.


This issue will now be locked to further updates. If you have something to add related to this GitHub Issue, please open a new GitHub Issue and reference this one. Thanks! :-)

@websharks websharks locked and limited conversation to collaborators Apr 23, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.