Similar to #2528736: Deprecating PHP4 style constructors, on PHP 7 I get an error in Features.

Notice: Undefined property: stdClass::$Array in page_manager_page_manager_pages_to_hook_code() (line 1205

CommentFileSizeAuthor
#2 ctools-php_7_undefined-2640404-2.patch814 bytesheddn
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

heddn created an issue. See original summary.

heddn’s picture

heddn’s picture

Status: Active » Needs review
thewilkybarkid’s picture

Status: Needs review » Reviewed & tested by the community

This fixes the issue.

MustangGB’s picture

+RTBC

szeidler’s picture

+RTBC

It's quite an important patch, as page_manager pages might get broken with PHP 7, when you rebuild a feature, because they are missing their keys.

MustangGB’s picture

mikeytown2’s picture

+RTBC

mikeytown2’s picture

Status: Reviewed & tested by the community » Closed (duplicate)
nagy.balint’s picture

Rajab Natshah’s picture

Thank you :)

Features module was going crazy over this issue.

Rewarded work.

REPlummer’s picture

Thank you! with information from this post/patch I was able to make a patch for the same issue happening in FastToggle!

-REPlummer
Janglewood, LLC