Problem/Motivation

When creating a new page variant with PHP 8.1 I get the following:

Deprecated function: Calling static trait method Drupal\ctools\Form\AjaxFormTrait::getAjaxAttributes is deprecated, it should only be called on a class using the trait in Drupal\page_manager_ui\Form\VariantPluginContentForm::getAjaxButtonAttributes() (line 36 of modules/contrib/ctools/src/Form/AjaxFormTrait.php).

Comments

Christopher Riley created an issue. See original summary.

anybody’s picture

anybody’s picture

jmdeleon’s picture

You might want to try the CTools patch I have submitted here: #3294330: AjaxFormTrait PHP 8.1 issue

japerry’s picture

Status: Active » Closed (outdated)