ellatrix / wp-front-end-editor

Front-end Editor for WordPress
https://wordpress.org/plugins/wp-front-end-editor/
340 stars 87 forks source link

Can't activate plugin on WordPress 4.0 - Syntax error #170

Closed picajoso closed 9 years ago

picajoso commented 9 years ago

Hi Janneke,

I wrote this message sometime ago on the Support section in the WordPress support page for your plugin, other user reported the same exact issue:

I am currently on WP 3.9.2. I tried to update to WP 4.0, then install the new beta version of the plugin, but I couldn't activate the plugin. There's a syntax error I can't detect even by looking that line and that kind of error. Everything seems fine to me :(. The message showing up is as follows:

Parse error: syntax error, unexpected '[' in /home/javipas/domains/xxxxxxx.com/public_html/wp-content/plugins/wp-front-end-editor/class-fee.php on line 111

This is the main reason I have come back to WP 3.9.2, I really love editing in the frontend, and thus I haven't yet updated my WordPress blog to 4.0, so please, could you take a look at it?

GabrielGil commented 9 years ago

Probably you're using an unsupported PHP version. This was fixed a few commits ago. Try to upload the last build of the plugin from here: https://github.com/avryl/wp-front-end-editor/archive/master.zip

Cheers!

picajoso commented 9 years ago

Fantastic, GabrielGil (¡gracias majo!), now it's finally working at my blog (http://javipas.com), and the new interface is even better, much more usable, more 'medium-y' :)

Great work guys!! Thanks to you too, of course, Janneke!

GabrielGil commented 9 years ago

Para eso estamos ;)

Glad it helped you out. Remember there is an open issue that marks all the posts you edit as sticky.

Congrats for your blog BTW.

picajoso commented 9 years ago

Gracias de nuevo, tb por las felicitaciones (Translated: Thanks again, also for the congratulations) :)

Oh, I wasn't aware of that (I don't use Github that much, I'm affraid). It's clever to let users close the issue. Cheers!

boluda commented 9 years ago

Maybe I'm missing something, but I installed and activated the plugin, but it does nothing. There is no way to edit on the frontend. There are no errors, but It's like if the plugin was not there. I'm usuing 4.0 and Genesis. Any help?

Thanks!

picajoso commented 9 years ago

I don't use Genesis, and in my case (I use a child theme based on one of the official WordPress themes) what I do is enter the post, and then click on "Edit post". After that I can write and delete characters/words straight in the post, but also select text and from there a little pop-up menu appears the same way it shows on the Medium editor. If I create a new line, the editor lets me insert a new block (for example, an image), so everything works fine for me now :/

GabrielGil commented 9 years ago

Yes, user experience wise, this is something it has to be improved since most of users don't notice the editor is turned on or it's not.

Please, check the instructions @picajoso kindly showed you and let us know how it works for you.

boluda commented 9 years ago

OMG. Yeah, indeed, that's hard to find.... That's new, isn't it? Last time I used this pulgin there were even a "Edit on frontend" quicklink on the backend, on the posts list and on the post editor... if I'm not wrong?

GabrielGil commented 9 years ago

Yes, you're right @boluda. It's part of a serie of changes on the latest build. It's quite nice from my point of view, but it requires some guiding for the final user.

boluda commented 9 years ago

Hi GabrielGil! Yeah, I love it too, but some of my clients would have a hard time using it. An options page would be great, to turn on or off these options.