Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice: Undefined index: basePath in /vendor/kms/froala-editor-bundle/Service/OptionManager.php line 68 #14

Closed
cassianotartari opened this issue Mar 16, 2016 · 9 comments
Labels

Comments

@cassianotartari
Copy link

Hi! I've followed all the steps described in readme but when I try to use the form type it throws:

Notice: Undefined index: basePath in /vendor/kms/froala-editor-bundle/Service/OptionManager.php line 68

I've already defined a basePath in config but didn't worked.

@sguionni
Copy link
Contributor

Hi,
can you show me your config file please ?

@cassianotartari
Copy link
Author

kms_froala_editor:
    language: "%locale%"
    includeJQuery: false
    basePath: "/my/custom/path"

I was looking the code before and I think is something related to Symfony version, I'm using 2.3. It wasn't setting defaults inside form type. I've already deleted all the stuff but I've tried to change some method to set defaults and the error changed to other place. I'm working with ckeditor but it has dependencies with others bundle and I can't update it to newest version. The reason that I'm looking to other WYSIWYG editor is for work in mobile

@sguionni
Copy link
Contributor

You have to remove the basePath in your config file, clean the cache and it should works.

@balvirsingh
Copy link

Hi,
I removed the basePath in your config file and clean the cache but again same problem.

@sguionni sguionni added the bug label May 4, 2016
@sguionni
Copy link
Contributor

sguionni commented May 4, 2016

Can you show me your actual configuration file and your code that create the form please ?

@Khaldoun488
Copy link

Khaldoun488 commented May 23, 2016

had the same problem with symfony 2.4.

I just updated to Symfony 2.8.6 and it works.

@AnthonyPavaux
Copy link

AnthonyPavaux commented May 27, 2016

Hi !
I must remain a version 2.6 sf2 with dependence . he has no other solution than a past version > 2.8?

@sguionni
Copy link
Contributor

I will update the bundle next week to the last Froala version. Do you have an idea about problem with sf <2.8 ?

@sguionni
Copy link
Contributor

This issue is fixed ?

@sguionni sguionni closed this as completed Sep 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants