- Issue created by @slowflyer
- Status changed to Needs review
10 months ago 11:43am 8 March 2024
There are a few places where this deprecation message is shown:
Deprecated function: Using ${var} in strings is deprecated, use {$var} instead in include_once() (Line 153 in /html/core/lib/Drupal/Core/Extension/Extension.php)
#0 /html/core/includes/bootstrap.inc(164): _drupal_error_handler_real(8192, 'Using ${var} in...', '/mnt/web/demo_n...', 21)
#1 /html/core/lib/Drupal/Core/Extension/Extension.php(153): _drupal_error_handler(8192, 'Using ${var} in...', '/mnt/web/demo_n...', 21)
#2 /html/core/lib/Drupal/Core/Extension/Extension.php(153): include_once('/mnt/web/demo_n...')
#3 /html/core/lib/Drupal/Core/Extension/ModuleHandler.php(128): Drupal\Core\Extension\Extension->load()
#4 /html/core/lib/Drupal/Core/Extension/ModuleHandler.php(141): Drupal\Core\Extension\ModuleHandler->load('social_language')
A quick search for ${ over the Open Social distro returns the following files:
social_language.module
social_search.module
CorrectUpdateHelperUsage.php
OptionalModuleManager.php
GroupContext.php
AlbumContext.php
BookContext.php
TopicContext.php
EventContext.php
TaggingContext.php
MediaBridge.php
EntityConnection.php
DecoratableTypeResolver.php
SocialGraphQLTestBase.php
Replace all ${var} with {$var}
Needs review
12.2
Code (back-end)