Comments (6)
Page integration is enabled by default and this wouldn't normally cause an issue. The field mentioned in your error message is always added in SQL schema (no conditions are possible here) and when the option is enabled (or is not defined yet), the field is added as page rootline field. When this is the case, the error above should be impossible to encounter, unless:
- You intentionally did not add the field through SQL schema update.
- One of your other extensions is manipulating
$GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields']
in a way that removes the value Flux inserts - note that when you manipulate this variable, it should always be done with a concatenation and added comma, e.g.$GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] .= ',myfield';
But perhaps more obvious, unless the basic.pageIntegration
option is either defined and set to true
, or not defined at all (and defaulted to true
) then the PageProvider should not be registered at all and there would be no way that the error can be raised.
If neither of the two suggested causes above apply, I would appreciate a full stack trace so I can see what causes the PageProvider to be unexpectedly invoked.
from flux.
We have checked the two things you mentioned. We also checked the $GLOBALS array just before the line where the error occurred, and the Flux fields are included in the string. The only third-party extension installed at the moment is Flux, so there is nothing else that can cause this problem.
from flux.
@steffen-hph I'm sorry, but the log isn't helping. I'll need a stack trace so I can see the hierarchy of classes/methods that leads to this error. You should be able to get this by setting Development context.
from flux.
@NamelessCoder Is that what you mean?
from flux.
Yep, that's it - thanks.
Something in your setup is causing an instance of PageProvider to be created and registered with Flux, even when the page integration option is disabled. I am unfortunately completely unable to reproduce the problem locally and can almost guarantee that it isn't caused by Flux itself. Something else must be going on to cause an instance of PageProvider to be created.
Are you absolutely 100% certain that your setup's extension configuration for Flux contains basic.pageIntegration
and that the value of this setting is false
(not null
!)? Two things point to this setting either being null
or true
:
- The instance of PageProvider is created.
- You mention that you inspect the $GLOBALS array and see the Flux page fields in
addRootLineFields
.
So either the settings are telling Flux to register the PageProvider and add these fields to the root line, or some other code in your setup is doing that.
You can call \FluidTYPO3\Flux\Utility\ExtensionConfigurationUtility::getOptions()
in the place where this problem is triggered so you can inspect the settings. Or call \FluidTYPO3\Flux\Utility\ExtensionConfigurationUtility::getOption('pageIntegration')
to inspect just that one setting. As mentioned, the value must be false
- null
is treated as "not set" and will default the setting to true
.
Hope this helps you track it down.
from flux.
Thank you for your help again!
We tested it again but we weren't able to force the error. We used your newest version of Flux, so maybe you changed something without knowing it? It doesn't really matter why, but it seems to work now.
I therefore close the ticket.
from flux.
Related Issues (20)
- ConfigurationManager data empty v12 HOT 4
- Localized records lose by dataProcessing modified data HOT 6
- Fatal Error in combination with EXT:mask and/or itemsProcFuncs HOT 3
- BUG: flux interferes with TYPO3 caching HOT 4
- BUG: Typoscript settings are removed in be module when using ExtensionManagementUtility::addTypoScriptSetup
- Bug: Creating New Page generating error because the Flux Provider 'Page' was not registered correctly HOT 2
- BUG: toggle button missing for grid based content element on TYPO3v11 HOT 3
- BUG: copy a page in the pagetree is broken
- flux:field.file for TYPO3 11 and 12 HOT 6
- copy and paste flux CE with FAL
- flux:field.inline.fal Image lost in page configuration when translating
- BUG: no tt_content fileds from TCA Overrides after update to 10.0.x and dev HOT 1
- Incompatibility with 12.4.9 at translated content HOT 1
- BUG: Missing site attribute in request with TYPO3 12.4.9 HOT 3
- BUG: Problem with fal relations on inserting pages from the clipboard (make copy of a page) HOT 3
- Empty element browser with flux:field.file HOT 3
- BUG: After upgrading from flux 9.7.4 to 10.0.9 ArgumentCountError in ContentTypeManager HOT 3
- How to migrate wizard.suggest HOT 2
- Core: Error after Update 12.4.10 HOT 2
- TYPO3 12.4.10 - Multilingual - Undefined array key "colPos" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flux.