Hi Martin,
Thank you for your advice.
Now this is the next error…
An exception was thrown while Neos tried to render your page
The Fusion object Neos.Fusion:ContentElementEditable cannot be rendered: Most likely you mistyped the prototype name or did not define the Fusion prototype with prototype(Neos.Fusion:ContentElementEditable) < prototype ... . Other possible reasons are a missing parent-prototype or a missing @class annotation for prototypes without parent. It is also possible your Fusion file is not read because of a missing include: statement.
The prototype you are looking for is called Neos.Neos:ContentElementEditable.
Very likely your code only uses ContentElementEditable and was autocompleted to Neos.Neos in the past via Fusion namespace.
Background: Ages ago default namespaces were used in included files aswell. This was changed and now namespace declarations are only valid for the fusion file they are defined in. Otherwise the default namespace is Neos.Fusiom which is probably the reason of your problem.
I recommend to always use full prototype names and an ide that supports autocompleting.
BTW: Did you execude the core migrations for your packages with ./flow flow:core:migrate Your.Package that should have adjusted at least the namespace problem.
In general after applying the migrations you should not need much adjustments from 4.x to 7.x. There are some execeptions like http-components and loggers but those are quite rare in projects.
Thank you for that hint. I didn’t make a migration. I’m setting up a new 7.1. My only one project was made on 2018. Since I never touched neos.
So I copy the files Menupoint.yaml and Menupoint.fusion and others from Dimitri’s video example to neos 7.1 and look if it works.
I would like to expand my project to a multisite project. So I need a little bit knowhow to develop it. I practice learnig by doing, but at the moment, it is a hard job for me.
I would recommend https://github.com/neos/Neos.Demo as a blueprint for smaller projects. We keep it up to date to be in line with recent developments and best practices.
There has been quite some changes in the last years an Neos matured a lot.