An access controlled Panel page caused the same error as in #1364090: Warning: array_shift() expects parameter 1 to be array, string given in boost_boost_menu_router(), in several places. Perhaps it's a ctools way of passing on the arguments? Views depends on ctools, and Panel pages are a native ctools concept.

Patch will be attached.

CommentFileSizeAuthor
#1 serialized-arguments2-1653206-0.patch870 bytesAnonymous (not verified)

Comments

Anonymous’s picture

StatusFileSize
new870 bytes

To reproduce, it should suffice to set up a Panel page with access restrictions. The error occurred when viewing a Panel page restricted to a certain role.

The patch attached removed the error message in my environment. I'm not sure, if the condition "if (! is_array($page_arguments))" is required at all. It's just a copy of the patch provided for the other issue referenced above. If a serialized array is the standard way for passing in arguments in this situation, the condition should be removed.

Anonymous’s picture

Assigned: » Unassigned
Status: Active » Needs review

(status)

bgm’s picture

Version: 7.x-1.x-dev » 7.x-1.0-beta1

Thanks for the patch!
Committed to 7.x-1.x 995460cb2d46957dd8eb4f9b811cb18b2e77d780

bgm’s picture

Status: Needs review » Fixed

(forgot to change the issue status)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.