fatal error after typo3 upgrade - typo3-6.2.x

After I upgraded a typo3 4.5 LTS to Typo3 6.2 LTS I get a fatal error saying:
Fatal error: Class '\' not found in /home/www/dev2.mysite.com/typo3_src-6.2.13/typo3/sysext/core/Classes/Cache/CacheFactory.php on line 75
Do you have any idea how I can fix it ?

clean your cache -- hard way:
goto the install tool -> important actions -> clean cache
remove everything in typo3temp/ (use rm -rf typo3temp/* )
Then try again.

Related

I upgraded my angular version from 13 to 14 .. getting generic type error TS2707 for ng-circle-progress

I upgraded my angular version from 13 to 14.. migration is completed , but on running application with ng serve its giving error for ng-circle-progress module .
Error: node-modules/ng-circle-progress/lib/ng-circle-progress-component.d.ts:- error TS2707 :
Generic Type 'ComponentDeclaration requires between 7 and 8 arguments.
tried solving by using npm install #angular/ng-circle-progress --force --legacy-peer-deps but nothing worked. Can anyone provide solution to this. Any lead will be appreciated.
Issue that I was facing was occurring as some npm packages were upgraded to 15 as its latest. Though I am migrating to 14 not 15.
So to solve that I checked all packages version relevant to version 14 from npm official site
for eg : for #angular/animations
https://www.npmjs.com/package/#angular/animations
Similarly check versions for each package upgraded to 15 and change in package.json
and finally run 'npm install --legacy-peer-deps'
You will be good to go .
If you still face issues, restart application and do ng serve.

Assets build error [webpack-cli] Error: Unknown option '--hide-modules'

I am using orocommerce 4.2.1 from AWS marketplace. I made some changes in scss and want to build the assets. When i run the command php74 bin/console oro:assets:build --env=prod
I get the following:
[centos#ip-172-31-28-85 commerce]$ php74 bin/console oro:assets:build --env=prod
Building assets.
'/usr/bin/node' './node_modules/webpack/bin/webpack.js' '--hide-modules' '--mode=production' '--env.stats=' '--env.symfony=prod' '--colors'
[webpack-cli] Error: Unknown option '--hide-modules'
[webpack-cli] Run 'webpack --help' to see available commands and options
In OroAssetsBuildCommand.php line 247:
How can I remove this --hide-modules. I tried removing from package.json but nothing works?
It seems you have upgraded the "webpack-cli" NPM package to 4, but the OroCommerce 4.2 LTS is compatible only with "^3.3.12". To fix an error, you have to downgrade the package back to 3.3.12 version.
It's works for me
You can remove --hide-modules.
However, it is recommended that you use the mix executable. Please refer to the upgrade guide: https://github.com/JeffreyWay/laravel-mix/blob/628f6062cceb77610b1813e3179abcbd043a4642/UPGRADE.md#update-your-npm-scripts

I can't install postgresql-simple on haskell

When I write this command: cabal install postgres-simple or cabal install postgresql-simple
This error appears:
cabal: Error: some packages failed to install: postgresql-libpg-0.9.4.2 failed during the configure step. The exception was: ExitFailure 1
postgresql-simple-0.6.2 depends on postgresql-libpg-0.9.4.2 which failed to install.
I tried on windows and Ubuntu, the same error appears.
As the comment notes, you need to have postgres already installed on your system.

Installing specific node version using NVM gives an error

I want to install node v6.10.3. but when I tried to install it gives the following error. What causes this error?
creating .\config.gypi
creating .\config.mk
bash: make: command not found
nvm: install v6.10.3 failed!
(nvm maintainer here) Could you file this on http://nvm.sh, and fill out the issue template? This kind of question is more appropriate for the repo than for SO.

Stencil Paper.loadTranslations Error

When trying to run Stencil I am receiving the error below.
Debug: internal, implementation, error
TypeError: Uncaught error: self.assembler.getTranslations is not a function
at Paper.loadTranslations (/user/.nvm/versions/node/v4.4.0/lib/node_modules/#bigcommerce/stencil-cli/node_modules/#bigcommerce/stencil-paper/index.js:137:20)
at /user/.nvm/versions/node/v4.4.0/lib/node_modules/#bigcommerce/stencil-cli/node_modules/#bigcommerce/stencil-paper/index.js:62:18
at /user/.nvm/versions/node/v4.4.0/lib/node_modules/#bigcommerce/stencil-cli/node_modules/async/lib/async.js:718:13
at async.forEachOf.async.eachOf (/user/.nvm/versions/node/v4.4.0/lib/node_modules/#bigcommerce/stencil-cli/node_modules/async/lib/async.js:233:13)
at _parallel (/user/.nvm/versions/node/v4.4.0/lib/node_modules/#bigcommerce/stencil-cli/node_modules/async/lib/async.js:717:9)
at Object.async.parallel (/user/.nvm/versions/node/v4.4.0/lib/node_modules/#bigcommerce/stencil-cli/node_modules/async/lib/async.js:731:9)
at Paper.loadTheme (/user/.nvm/versions/node/v4.4.0/lib/node_modules/#bigcommerce/stencil-cli/node_modules/#bigcommerce/stencil-paper/index.js:60:11)
at respond (/user/.nvm/versions/node/v4.4.0/lib/node_modules/#bigcommerce/stencil-cli/server/plugins/renderer/responses/pencil-response.js:29:15)
at /user/.nvm/versions/node/v4.4.0/lib/node_modules/#bigcommerce/stencil-cli/server/plugins/renderer/renderer.module.js:49:18
at /user/.nvm/versions/node/v4.4.0/lib/node_modules/#bigcommerce/stencil-cli/server/plugins/renderer/renderer.module.js:246:24
My setup is as follows:
MacOS 10.11.5
NVM 0.31.0
Node 4.4.0
Stencil 1.3.5
I have tried a fresh install of NVM and Node by first uninstalling NVM and following the guide at https://stencil.bigcommerce.com/docs/installing-and-launching-stencil-1 end to end. This has not resolved the error and I cannot run stencil.
Has anyone else encountered this issue or have a solution?
If you pull down the latest version of Stencil (just deployed in the last couple hours), you should have a fix for this. It was an issue introduced in a previous (recent) release.
npm install -g bigcommerce/stencil-cli
That should pull the update.