[BUG] Deprecated: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in psgdpr/psgdpr.php on line 701
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
Start at psgdpr/psgdpr.php line 701 and inspect the sha1() call reached by the reported hook-management flow. Reproduce it on PrestaShop 9.1.0 with PHP 8.1 using the listed back-office and footer steps. Done means the flow no longer emits the deprecated null-to-string message.
Written by the indexing model from the issue text.
Description
Prerequisites
- I understand and accept the project's code of conduct.
- I have already searched in existing issues and found no previous report of this bug.
Describe the bug and add attachments
There is a deprecated message
Expected behavior
There is not deprecated message
Steps to reproduce
- Go to BO > Modules
- Filter on the module psgdpr
- Click on the "Configure" module
- Click on the "Manage hooks" button
- Click on the "Hook a module" button
- Save
- Go to FO
- Go on the footer (
PrestaShop version(s) where the bug happened
9.1.0
PHP version(s) where the bug happened
8.1
Your company or customer's name goes here (if applicable).
@PrestaShopCorp
- Dominant language
- JavaScript
- Stars
- 33
- Forks
- 74
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PrestaShop/psgdpr
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PrestaShop/psgdpr#245 · 2 comments ·
-
[BUG] PHP Deprecated: sha1(): Passing null to parameter #1 ($string) of type string is deprecated Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
PrestaShop/psgdpr#236 · 1 comment ·
-
waiting for author
Difficulty 4/5 3-5 days Newbie friendliness 35/100
PrestaShop/psgdpr#237 · 10 comments ·
All issues in PrestaShop/psgdpr
Similar issues
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
status: needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100