bludit 2.3.4 - static page username() error

Post Reply
User avatar
bayerberg
Master Bludit
Posts: 141
Joined: Wed Jun 07, 2017 1:05 pm
Location: London, UK
Has thanked: 7 times
Been thanked: 10 times
Contact:

I'm getting a weird error when creating static pages as an editor. Everything is fine when user with admin rights creates a static page but when I do it as an editor i get

Code: Select all

Uncaught Error: Call to a member function username() on boolean
if editors cant post static pages is there a way to block that option in the panel?
bludit plugins and themes - makeitblu | I do things, check them out on behance and dribbble.
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

I cannot reproduce the error with v2.3.4.

Which version do you use?
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
bayerberg
Master Bludit
Posts: 141
Joined: Wed Jun 07, 2017 1:05 pm
Location: London, UK
Has thanked: 7 times
Been thanked: 10 times
Contact:

2.3.4, one specific user, on one specific MAMP... weird ;)
my thinking is it might be the php version
bludit plugins and themes - makeitblu | I do things, check them out on behance and dribbble.
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

I tried with MAMP 4 (Windows) with PHP 7.1.7 and 7.0.21 but still cannot reproduce the error.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
bayerberg
Master Bludit
Posts: 141
Joined: Wed Jun 07, 2017 1:05 pm
Location: London, UK
Has thanked: 7 times
Been thanked: 10 times
Contact:

will try to get it to show again. 100% sure it wasnt anything to do with loops, everything was working for other editors
bludit plugins and themes - makeitblu | I do things, check them out on behance and dribbble.
Post Reply