MCQ – Fatal error: cannot use string offset as an array

Q&ACategory: PluginMCQ – Fatal error: cannot use string offset as an array
dcrauwels asked 2 years ago

Hi,
I’m having a problem with Multiple Choice Questions. One of the WP setups I recently installed it on doesn’t allow me to setup questions (or answers, for that matter). When I make a new MCQ and go to the ‘Questions’ tab, I get the following error:
Fatal error: Cannot use string offset as an array in /home/daviddb4/domains/daviddb4.four.axc.nl/public_html/wp-content/plugins/multiple-choice-questions/includes/mcq-meta.php on line 266
This is inside the dashboard, mind you. On page it shows the following:
http://daviddb4.four.axc.nl/?mcq=filmpje-3
So no errors, but no content either (obviously). WordPress is up to date.
Is this a problem you have encountered before, and if so, do you have any idea how to solve it?
Kind regards and thanks in advance,
David

2 Answers
Hasan Staff answered 2 years ago

Welcome to our forum,
I have tested this plugin on my workplace can’t see any error like yours, if you please send me a screenshots when error happen with MCQ edit page
Best Regards

dcrauwels answered 2 years ago

Dear Hasan,
Thank you for your swift response. A screenshot of the error encountered can be found at http://bit.ly/1aVSyQv.
Kind regards,
David

Hasan Staff replied 2 years ago

Have you edit anything of this plugin ? what i have done again, # clear options(for this plugin) from database and the again fresh install this plugin still can't see any error like you, if you please remove this plugin and re-install, here is my newly created MCQ screenshots http://i.imgur.com/HBcefpK.png Thanks

dcrauwels replied 2 years ago

I haven’t made any edits or changes to this plugin. After doing as you said (remove plugin, delete MCQ options entries from database, reinstall) I still get the same error. Do you have any other ideas on what to do? Once again, thank you for your time.

Hasan Staff replied 2 years ago

Can you please give me a demo admin access to your site ? please go contact page http://paratheme.com/contact/ and send login details, Thanks

Hasan Staff replied 2 years ago

Or, do you use any others plugin that might be prefixed as same our options name which may conflict with our option(Post Meta) Try deactivate other MCQ plugins and try if found something helpful, Thanks

dfaquinha replied 1 year ago

Hello,I also had problems with the plugin , which has experienced an error and did not allow me to put the answers in questions . You tell me how to fix this problem or if the plugin will have a new version?Fatal error: Cannot use string offset as an array in /home/oxigenwe/public_html/teste/wp-content/plugins/multiple-choice-questions/includes/mcq-meta.php on line 266