Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken compat with TYPO3v8 due to Environment usage #7

Open
2 of 4 tasks
mbrodala opened this issue Apr 12, 2022 · 3 comments
Open
2 of 4 tasks

Broken compat with TYPO3v8 due to Environment usage #7

mbrodala opened this issue Apr 12, 2022 · 3 comments

Comments

@mbrodala
Copy link

Bug Report

Prerequisites

  • Can you reproduce the problem on TYPO3 v8.7 LTS
  • Can you reproduce the problem on TYPO3 v9.5 LTS
  • Can you reproduce the problem on TYPO3 v10.4 LTS
  • Did you perform a cursory search to see if your bug or feature is already reported?

Description

Any action is broken:

  [ Error ]                                          
  Class 'TYPO3\CMS\Core\Core\Environment' not found  
                                                     
Exception trace:
#0 ()
   typo3conf/ext/hubspot/ext_localconf.php:13
#1 TYPO3\CMS\Core\Utility\ExtensionManagementUtility::{closure}()
   typo3conf/ext/hubspot/ext_localconf.php:54

This is caused by the usage of the Environment class which does not exist in TYPO3v8.

Steps to Reproduce

  1. Do any thing on CLI/BE in TYPO3
  2. See the error

Expected behavior: There should be no error

Actual behavior: There is an error

Versions

2.1.1

@mabolek
Copy link
Contributor

mabolek commented Apr 12, 2022

Hi @mbrodala!

I think I fixed this some time ago, but it's still in the develop branch. Does the develop branch work for you?

@mbrodala
Copy link
Author

You mean due to 4dac6ff? I'll try ASAP.

@mbrodala
Copy link
Author

Yup, this fixes the error as expected. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants