• Resolved wolvensheep

    (@wolvensheep)


    I’ve updated the plugin and seems everything is not working – I had problem even with setting up questions – they all just disappear after I input them. Finally I try to manually input the questions on the SQL, they appear, but then I have such error when trying to set the formula:

    Fatal error: Uncaught exception ‘InvalidArgumentException’ with message ‘Value names are required when own values are empty’ in /home1/drgstr/public_lt_skhltl_wordpress/wp-content/plugins/wp-testing/src/Model/Formula.php:103 Stack trace: #0 /home1/drgstr/public_lt_skhltl_wordpress/wp-content/plugins/wp-testing/src/Model/Formula.php(225): WpTesting_Model_Formula->isCorrect(Array) #1 /home1/drgstr/public_lt_skhltl_wordpress/wp-content/plugins/wp-testing/vendor/flourish/flourish/fORM.php(242): WpTesting_Model_Formula->validateSource(Object(WpTesting_Model_Formula), Array, Array, Array, Array, Array) #2 /home1/drgstr/public_lt_skhltl_wordpress/wp-content/plugins/wp-testing/vendor/flourish/flourish/fActiveRecord.php(3021): fORM::callHookCallbacks(Array, Array) #3 /home1/drgstr/public_lt_skhltl_wordpress/wp-content/plugins/wp-testing/vendor/flourish/flourish/fORMRelated.php(1743): fActiveRecord->validate(Object(WpTesting_Model_Formula), ‘post::validate(…’, Array, Array, Array, Array, Array) #4 /home1/drgstr/public_lt_skhltl_w in /home1/drgstr/public_lt_skhltl_wordpress/wp-content/plugins/wp-testing/src/Model/Formula.php on line 103

    Wonder if others are encountering the same problem?

    Previously set tests are ok..

    https://www.ads-software.com/plugins/wp-testing/

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Contributor ustimenko

    (@ustimenko)

    Hi.

    Try to download prev versions.

    Current version has link: https://downloads.www.ads-software.com/plugin/wp-testing.0.9.5.zip

    So others are 0.9.4, 0.9.3 and etc.

    And then report where problem will gone.

    Plugin Contributor ustimenko

    (@ustimenko)

    Previously set tests are ok..

    So only in new tests you have the problems?

    Also as I see you use windows for testing locally? I dont’ have one.

    We should invent some way to debug your case.

    Plugin Contributor ustimenko

    (@ustimenko)

    Also, how do you update it on windows? Through wordpress “update” stuff or manually by downloading new zip file?

    Thread Starter wolvensheep

    (@wolvensheep)

    I’m using Chrome on windows and I just use the “update” function on wordpress.

    When I try to enter new questions after the update, just nothing show up after I click “publish”.

    I also show you the error message earlier after I try to enter a formula.

    Plugin Contributor ustimenko

    (@ustimenko)

    wolvensheep, can you then try to manually “revert” your versions by one?

    It will help to find the problem. Currently I can’t debug it somehow.

    Also which exact versions of php, mysql, web server and windows do you have?

    Thread Starter wolvensheep

    (@wolvensheep)

    Sorry I’m a bit busy with my current project also – I’ll update you with more information – I know it’s not working now but not exactly sure it’s your plugin or it got some capablity issue with other plugin – as I try to revert back 1 version I’m still having the same problem. (I remember doing it 3 weeks ago and those tests then were fine)

    Will update you thanks and thanks so much for quick response!

    Plugin Contributor ustimenko

    (@ustimenko)

    wolvensheep, also try to simply deactivate and activate plugin — what if it will helps?

    May be some migration was not run through tipical update.

    Thread Starter wolvensheep

    (@wolvensheep)

    hello, I’ve sent you a private email for access to my portal to see the problem. Don’t worry if you can fix it yet – just to let u know what I’m seeing.

    Plugin Contributor ustimenko

    (@ustimenko)

    wolvensheep, yes I see it now, but dont’ know what’s the reason.

    Most possibly some data corrupted.

    I’ll try to research it later. In the meantime can you try to just create new test with 1 question/result/formula and play with it?

    Thread Starter wolvensheep

    (@wolvensheep)

    I tried to create new test and the problem also occur (you can use your admin to see). Anyway yes let’s look at it later after I somehow finish this project :}

    Plugin Contributor ustimenko

    (@ustimenko)

    Hi!

    It was not as of this plugin update — some settings in your server was updated like magic_quotes or else.

    Anyway I found a fix, will test it and will release hotfix soon.

    Currently on your server wp-testing/src/Model/Test.php is updated, pls test nwo how it works. And after hotfix update also.

    Also I found a warning “Settings of your server are too low” so pls check it too.

    Thread Starter wolvensheep

    (@wolvensheep)

    Thanks so much I just login and found it works now! what did you do? <3

    Plugin Contributor ustimenko

    (@ustimenko)

    I’m just added urldecode there.

    In such places: https://github.com/garex/wp-testing/blob/develop/src/Model/Test.php#L513

    There was just json_decode(stripslashes($key), $isAssoc);

    But I added json_decode(urldecode(stripslashes($key)), $isAssoc);

    Anyway I need to repeat your situation now locally somehow to add it to tests after fix. I will investigate it.

    Plugin Contributor ustimenko

    (@ustimenko)

    Yeazz!!! I found a reason! Now I can repeat it locally 100%.

    It was your inovado theme, that added enctype="multipart/form-data" attribute to form.

    Anyway it was an interesting case.

    Now you can remove those temp login.

    Thread Starter wolvensheep

    (@wolvensheep)

    thx so much! Nice job. ??

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Everything's not working since the update’ is closed to new replies.