Problem/Motivation
After making changes to Adaptive Theme subtheme in Layouts (under Appearance) and submitting them, the following error messages show up:
Deprecated function: Creation of dynamic property Drupal\at_core\Layout\LayoutSubmit::$layout_config is deprecated in Drupal\at_core\Layout\LayoutSubmit->__construct() (line 36 of themes/contrib/adaptivetheme/at_core/src/Layout/LayoutSubmit.php).
Deprecated function: Creation of dynamic property Drupal\at_core\Layout\LayoutSubmit::$css_config is deprecated in Drupal\at_core\Layout\LayoutSubmit->__construct() (line 37 of themes/contrib/adaptivetheme/at_core/src/Layout/LayoutSubmit.php).
Deprecated function: Creation of dynamic property Drupal\at_core\Layout\LayoutSubmit::$layout_name is deprecated in Drupal\at_core\Layout\LayoutSubmit->__construct() (line 38 of themes/contrib/adaptivetheme/at_core/src/Layout/LayoutSubmit.php).
Deprecated function: Creation of dynamic property Drupal\at_core\Layout\LayoutSubmit::$layout_path is deprecated in Drupal\at_core\Layout\LayoutSubmit->__construct() (line 39 of themes/contrib/adaptivetheme/at_core/src/Layout/LayoutSubmit.php).
Deprecated function: Creation of dynamic property Drupal\at_core\Layout\LayoutSubmit::$form_values is deprecated in Drupal\at_core\Layout\LayoutSubmit->__construct() (line 40 of themes/contrib/adaptivetheme/at_core/src/Layout/LayoutSubmit.php).
We use Drupal 10.2.3 and PHP 8.2.16.
Steps to reproduce
- Install Adaptive Theme.
- Create a custom subtheme using the AT Theme Generator.
- Make a change under Layouts.
- Save the change.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3424873-1.patch | 775 bytes | himanshu_jhaloya |
Comments
Comment #2
himanshu_jhaloya commentedComment #3
ljansova commentedThank you very much for the patch! However, the errors (or warnings) still seem to persist.
Is there anything else that needs to be changed in order to get rid of the errors in 8.x-5.2 version (not the dev version) of the theme?
Comment #4
tokosefi commentedit is riddled with bugs this theme....not compatible with drupal 10....and maintainers do not care anymore
Comment #5
mattbloomfield commentedA new version was just released which should clear this up.
Comment #6
ericvlThis is the related issue.
Comment #8
mattbloomfield commentedThis has been fixed
Comment #9
mattbloomfield commented