This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

lemiszewski3501
lemiszewski3501

Hello, I installed the cms and received this error Call to a member function parseMarkup() on a non-object on /Applications/XAMPP/xamppfiles/htdocs/cms/modules/cms/Classes/Content.php line 41 $obj->parsedMarkup = $obj->parseMarkup(); Please help me to fix it. Thank you.

Flynsarmy
Flynsarmy

I'm getting this too. Created an issue here.

Keios
Keios

Seems like a bug in demo, had that on demo only, custom pages work fine.

Flynsarmy
Flynsarmy

Had a talk to Sam on IRC about it. It's a bug in October. Basically translate plugin looks for the ..txt file and if not found, October is supposed to fall back to the original file. It's not doing that. The bug will hopefully be fixed soon.

lemiszewski3501
lemiszewski3501

Ok thanks for the reply. I'll delete the demo file and try again to use it.

Flynsarmy
Flynsarmy

You could also just disable the translate plugin. That would work too.

dshoreman
dshoreman

In case anyone else has this issue before a fix is added in core, here's a temporary fix. Gist doesn't like slashes in filenames, so replace the underscores instead. It changes the Translate plugin to fallback to the default non-localised file if a .xy.htm can't be found, and also fixes the error about $obj not being an object, which would otherwise block the Translate plugin from falling back to something else.

lemiszewski3501
lemiszewski3501

Yes i did this and now is fixed but I received this error now when I'm trying to update:

Update failed

Access level to RainLab\User\Models\User::$loginAttribute must be public (as in class October\Rain\Auth\Models\User)

lemiszewski3501
lemiszewski3501

And now Symfony\Component\Debug\Exception\FatalErrorException cms/plugins/rainlab/user/models/User.php line 8 So there is a way to make it work :-( Thanks for help

Didac
Didac

Hey! dshoreman, I had the same problem as lemiszewski and proceeded to correct the codes with your revisions, and has been solved! if I have a problem with the same topic, I'll know here. Thanks for the feedback. :-)

1-10 of 10

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.