- Issue created by @pedrocorse
- 🇮🇳India chetan 11
Hi @pedrocorse
In which file you're getting this error, I have also followed the same steps as given above. - 🇫🇷France pedrocorse
Hi @chetan-11 in /admin/config/services/adsense, like the picture
- 🇺🇦Ukraine lobodacyril
I got the same error but in different place: Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /code/web/modules/contrib/adsense/adsense.module on line 192
And this patch works for me.
- Issue was unassigned.
- Status changed to RTBC
about 1 year ago 9:20am 25 October 2023 - 🇮🇳India roshni27
The issue exists and has been resolved using the patch mentioned. Please refer to the screenshots for confirmation. +RTBC
- Assigned to pedrocorse
- Status changed to Active
about 1 year ago 9:26am 29 October 2023 - 🇫🇷France pedrocorse
The patch doesn't work for me, I still have the problem.
https://www.drupal.org/files/issues/2023-10-29/adsense.module.png →
https://www.drupal.org/files/issues/2023-10-29/Capture%20d%E2%80%99e%CC%... → - Status changed to Needs review
about 1 year ago 5:01am 30 October 2023 - Open on Drupal.org →Core: 10.1.4 + Environment: PHP 7.4 & MySQL 5.7last update
about 1 year ago Waiting for branch to pass - Assigned to sarathkm
- Status changed to RTBC
8 months ago 2:29pm 18 March 2024 - Open on Drupal.org →Core: 10.2.1 + Environment: PHP 7.4 & MySQL 5.7last update
8 months ago Waiting for branch to pass - 🇮🇳India sarathkm kerala
Patch works fine with 8.x-1.4 release.
Before:
ddev php -v PHP 8.3.2-1+0~20240120.16+debian11~1.gbpb43448 (cli) (built: Jan 20 2024 14:17:59) (NTS) Copyright (c) The PHP Group Zend Engine v4.3.2, Copyright (c) Zend Technologies with Zend OPcache v8.3.2-1+0~20240120.16+debian11~1.gbpb43448, Copyright (c), by Zend Technologies
ddev drush cr PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/web/modules/contrib/adsense/adsense.module on line 192 Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/web/modules/contrib/adsense/adsense.module on line 192 PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/web/modules/contrib/adsense/adsense.module on line 192 Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/web/modules/contrib/adsense/adsense.module on line 192 [success] Cache rebuild complete.
After:
ddev composer install Gathering patches for root package. Removing package drupal/adsense so that it can be re-installed and re-patched. - Removing drupal/adsense (1.4.0) Deleting /var/www/html/web/modules/contrib/adsense - deleted Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`. Package operations: 1 install, 0 updates, 0 removals Gathering patches for root package. Gathering patches for dependencies. This might take a minute. - Installing drupal/adsense (1.4.0): Extracting archive - Applying patches for drupal/adsense patches/modules/adsense/3393149-9.patch (Deprecated function: Using ${var} in strings is deprecated, use {$var} instead in require_once()) Package clue/buzz-react is abandoned, you should avoid using it. Use react/http instead. Package react/http-client is abandoned, you should avoid using it. Use react/http instead. Generating autoload files 73 packages you are using are looking for funding. Use the `composer fund` command to find out more! * Homepage: https://www.drupal.org/project/drupal * Support: * docs: https://www.drupal.org/docs/user_guide/en/index.html * chat: https://www.drupal.org/node/314178
ddev drush cr [success] Cache rebuild complete.
- Merge request !4Issue #3393149: Deprecated function: Using in strings is deprecated, use {}... → (Closed) created by sarathkm
- Open on Drupal.org →Core: 10.2.1 + Environment: PHP 7.4 & MySQL 5.7last update
8 months ago Waiting for branch to pass - Issue was unassigned.
-
jcnventura →
committed 5034d132 on 8.x-1.x
Issue #3393149 by roshni27, sarathkm, lobodakyrylo, jcnventura:...
-
jcnventura →
committed 5034d132 on 8.x-1.x
- Status changed to Fixed
7 months ago 11:02pm 6 May 2024 Automatically closed - issue fixed for 2 weeks with no activity.