Back to Back To Front Support

kk88
kk88

Hello,

I'm trying to setup this plugin but unfortunately I got the following error:

Cannot access protected property Backend\Behaviors\RelationController::$alias /app/vendor/october/rain/src/Extension/ExtendableTrait.php line 382

Do you have any Idea how I can solve this? I already compared your Testplugin but it looks similar :-(

Thanks! Br, KK

Linkonoid
Linkonoid

Hello,

Yes, unfortunately there are some restrictions in RelationController.php. If you have already enabled "Use modificated OctoberCMS core files" in the plugin settings (3 files are replaced, they are in the "/backtofront/vendor/backtofront/modifed" folder), then the problem is still unknown to me and I will test the plugin on the latest version of OctoberCMS in the near future. For a "quick" solution to the problem, simply change "protected" to "public" for the $alias variable in the Backend\Behaviors\RelationController.php.

Best regards, Max (Linkonoid)

Last updated

kk88
kk88

Hello Max,

thanks for the hint with the modified files... I switched it off and on again and now it is working!

Br, KK

kk88
kk88

Hello again,

It seems that there is still an error in relation with backtofront plugin. If I don't have any relation inside a form it works - but when I put a relation inside then I get the error above - after many times of switching on and off the modified files I can see the form on frontpage.

But if I click on new or update I get the following error:

An exception has been thrown during the rendering of a template ("Das Partial '_button_0.htm' wurde nicht gefunden.").

There is now also an additional in the backend: If I want to open /backend/rainlab/user/users I got the following error:

Call to undefined method Backend\Widgets\Filter::getScopeDepends()

If I open /backend/system/eventlogs I got the following error:

Undefined property: Backend\Classes\FilterScope::$ignoreTimezone

Currently I'm using Build 471

kk88
kk88

Had you time to check it?

1-5 of 5