FILE: /ctools/ctools.module
------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------
LINE 912: WARNING Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original value as passed to a parameter,
but will instead provide the current value. The parameter "$access" was used and possibly changed (by reference), on line 907.
------------------------------------------------------------------------------------------------------------------------------------------------------
910:
911: ··$contexts·=·array();
>> 912: ··foreach·(func_get_args()·as·$arg)·{
913: ····if·(is_object($arg)·&&·get_class($arg)·==·'ctools_context')·{
914: ······$contexts[$arg->id]·=·$arg;
------------------------------------------------------------------------------------------------------------------------------------------------------

CommentFileSizeAuthor
#2 ctools-func_get_args-3076776-2.patch721 bytesGaurav_drupal
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Gaurav_drupal created an issue. See original summary.

Gaurav_drupal’s picture

Issue summary: View changes
FileSize
721 bytes

Provided the patch. Please review.

Gaurav_drupal’s picture

Assigned: Gaurav_drupal » Unassigned
Status: Active » Needs review
joelpittet’s picture

Status: Needs review » Closed (duplicate)

This is a fixed duplicate of #3006202: Error with PHP7