benjaminkott / benjaminkott/bootstrap_package

New Update to 10... don´t work

Open
#602 7 comments 0 reactions 0 assignees View on GitHub
could not reproduce need feedback
Dominant language
PHP
Stars
355
Forks
212
Avg merge
1h 4m
Merged PRs (30d)
31

Description

# Bug Report
Uncaught TYPO3 Exception
substr() expects parameter 1 to be string, integer given

TypeError thrown in file
/var/www/vhosts/typo3conf/ext/bootstrap_package/Classes/Hooks/PageRenderer/GoogleFontHook.php in line 75.
## Prerequisites

* [x] Can you reproduce the problem on TYPO3 v8.7 LTS
* [ ] Can you reproduce the problem on TYPO3 v9.5 LTS
* [ ] Did you [perform a cursory search](https://github.com/issues?q=is%3Aissue+user%3Abenjaminkott+repo%3Abenjaminkott%2Fbootstrap_package) to see if your bug or enhancement is already reported?

## Description

[Description of the bug or feature]

## Steps to Reproduce

1. [First Step]
2. [Second Step]
3. [and so on...]

**Expected behavior:** [What you expected to happen]

**Actual behavior:** [What actually happened]

## Versions

You can get this information from executing `composer show` at the command line if your TYPO3 installation is composer based, otherwise the version number will be shown in the extension manager.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting Classes/Hooks/PageRenderer/GoogleFontHook.php around line 75 and reproduce the exception on TYPO3 v8.7 LTS. Trace which value reaches substr() as an integer and verify the update no longer throws the reported TypeError when the Google font hook runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.