I've upgraded to new version of twig/twig 3.x.x. As of twig version 3.0 Twig_Extension is deprecated. So I'm getting next with "whiteoctober/breadcrumbs-bundle"
!! In BreadcrumbsExtension.php line 12:
!!
!! Attempted to load class "Twig_Extension" from the global namespace.
!! Did you forget a "use" statement?
Any suggestion how to fix this?
Unfortunately https://github.com/whiteoctober/BreadcrumbsBundle is not maintained anymore for Symfony upper 4.3.
Look at fork https://github.com/mhujer/BreadcrumbsBundle.
We've checked https://github.com/mhujer/BreadcrumbsBundle and it does works.
There is still the same limitation that you cannot use HTML code in the breadcrumb. Only by overwriting the twig file.
Related
iexfinance.utils.exceptions.ImmediateDeprecationError: get_available_symbols has been immediately deprecated.
Going over some python 3.7 code and after updating some modules getting a few errors, can't seem to find the replacement for get_available_symbols from iexfinance.
I apologise for tags, can't create exact ones.
Answer, for anyone who wants to know:
iexfinance.get_available_symbols(**kwargs)
MOVED to
iexfinance.refdata.get_symbols
A new version of Typescript is allowing to use template litteral strings as types like for example:
type Hey = 'Hey';
type HeyThere = `${Hey} There`;
And it's working very well in the playground of Typescript with the last version which is 4.1.3.
But when I try using it in my projects, I still get the "Type expected. ts(1110)" error in my syntax.
Even though of course I updated the package to the latest version, I also tried to use it in a new project created from scratch and still didn't work. I'm sure it's a very simple mistake but I can't fix it. Also this is very new feature so I can't find much answers online.
Thank you very much for your help!
update ts-loader to version 8 or 9
Mixin "with-grid-settings" does not accept a content block.
Trying to solve this, searched about it, but cannot find any info.
Thanks,
Ilia
It sounds like you might be trying to use an incompatible version of sass. If you are on Ruby 2.0, you should try upgrading your sass gem to 3.2.7.
OSX 10.6
CoffeeScript 1.2.0
node.js v0.7.7-pre
I am seeing a deprecation notice every time I run the coffee command. The notice is this:
path.exists is deprecated. It is now called `fs.exists`.
I know that this is happening because node.js deprecated path.exists. See
https://github.com/joyent/node/pull/2587
I would think there would be a lot of info about this but all I can see is some indirect reference relating to a more serious issue saying it's not going to be 'fixed':
https://github.com/jashkenas/coffee-script/issues/2113
Am I the only one having this problem? Does anyone have a suggestion on how I can make this go away?
https://github.com/jashkenas/coffee-script/blob/master/lib/coffee-script/command.js#L323
There are references to path.exists in the coffeescript source code.
Note that that in node 0.6 (the current stable version) fs.exists is null so it's difficult to cleanly upgrade this.
We have an issue where the same source code doesn't work in both 0.6 and 0.7.
I would assume that we wait for 0.8 and then someone will upgrade coffeescript to use fs.exists and deprecate 0.6 support
When waiting for 0.8, on OSX you can temporary fix this issue by replacing all path.exists to fs.exists in file (if you install globally):
/opt/local/lib/node_modules/coffee-script/lib/coffee-script/command.js
Don't forget to use root access when editing.
This is a bit of a late answer, but there is a patching module meant to temporarily fix this problem until everyone has a chance to update there code.
https://github.com/SportZing/node-exists-patch
Couldn't you just change all the instances of that in the source code?
I have a problem with the Create View in the SimpleRepository example in Subsonic 3. I get an error at line (28):
<%=Html.DropDownList("CategoryID",new SelectList(Blog.Category.All(),
"categoryid", "description")) %>
Basically, .All() is not known. Does anyone have a solution to this?
Not that should make a difference for this error but I am using VS2008 with the GDR installed.
This is still an issue in 3.0.0.1 (latest download) , although the download doesnt look any dif from the original release.
This was resolved in 3.0.0.1