- Issue created by @Anakinyo
- π―π΅Japan tyler36 Osaka
Unable to replicate on a fresh Drupal
10.1.0
website with PHP8.1.18
. - Status changed to Active
over 1 year ago 4:18am 4 July 2023 - π―π΅Japan tyler36 Osaka
Currently, this issue has no patches or MRs so I'm changing to status to "active".
- πΊπΈUnited States TolstoyDotCom L.A.
That value is set by an update, did you run updates?
If you run this in the database, what does it say?
select * from config where name='pathauto.settings';
- π΅πΉPortugal guilherme-lima-almeida Lisbon
Hi @tyler36,
Having the same problem, adding patch.
- Status changed to Needs review
over 1 year ago 2:00pm 13 July 2023 - last update
over 1 year ago 48 pass - last update
over 1 year ago 48 pass - πΊπΈUnited States TolstoyDotCom L.A.
The patch in #5 works. I set the 'safe_tokens' to NULL and there wasn't a warning.
However, before applying the patch, I cleared the 'Safe tokens' textarea on admin/config/search/path/settings. That didn't result in a warning because 'safe_tokens' was an array in the db. In the OP's db 'safe_tokens' is either NULL or missing and it might be good to figure out why.
- Status changed to RTBC
7 months ago 11:26am 18 April 2024 - First commit to issue fork.
- π§πͺBelgium gorkagr
MR diff works fine in 10.3.1 and last pathauto.
thnks -
Berdir β
committed 246321c7 on 8.x-1.x authored by
guilherme-lima-almeida β
Issue #3370089 by guilherme-lima-almeida, TolstoyDotCom: TypeError :...
-
Berdir β
committed 246321c7 on 8.x-1.x authored by
guilherme-lima-almeida β
- Status changed to Fixed
4 months ago 8:42pm 31 July 2024 - π¨πSwitzerland berdir Switzerland
Merged. #8 is correct, this should always be an array, if it's not for you then you have a invalid configuration and should fix it and restore this setting to the recommended default. Without it, various tokens will not work as expected.
Automatically closed - issue fixed for 2 weeks with no activity.