• Resolved Srgdnn

    (@srgdnn)


    Hello,
    I have already designed 2 tests with this great plugin. And it works quite well.
    For my 3rd test, the results aren’t displayed when you click on the button show me the results. There is a blank page!?.
    Yet the results are recorded in the admin interface.
    Do you have any idea where it could come from?
    Thanks

    https://wordpress.org/plugins/wp-testing/

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

    (@ustimenko)

    Hmm… Nope.

    Seems, like some fatal error happens, that is not shown as of your error show settings.

    Temporary enanble “show me errors” mode and you will see it.

    If you have some error log in panel or at server side, then try to find there.

    Then when we will see it’s text, I think the fix will be easy.

    Thread Starter Srgdnn

    (@srgdnn)

    below the detailed fatal error:

    Fatal error: Uncaught exception ‘PHPParser_Error’ with message ‘Syntax error, unexpected T_DEC on line 1’ in /home/economielz/www/wp-content/plugins/wp-testing/vendor/nikic/php-parser/lib/PHPParser/Parser.php:1098 Stack trace: #0 /home/economielz/www/wp-content/plugins/wp-testing/src/Model/Formula.php(204): PHPParser_Parser->parse(‘<?php 3–3;’) #1 /home/economielz/www/wp-content/plugins/wp-testing/src/Model/Formula.php(134): WpTesting_Model_Formula->substitute() #2 /home/economielz/www/wp-content/plugins/wp-testing/src/Model/Passing.php(287): WpTesting_Model_Formula->isTrue() #3 /home/economielz/www/wp-content/plugins/wp-testing/src/Doer/TestPasser/GetResults.php(36): WpTesting_Model_Passing->buildResults() #4 /home/economielz/www/wp-content/plugins/wp-testing/src/Doer/TestPasser.php(91): WpTesting_Doer_TestPasser_GetResults->renderContent(‘<p>Les psycholo…’, ‘Test/Passer/get…’) #5 [internal function]: WpTesting_Doer_TestPasser->renderTestContent(‘<p>Les psycholo…’) #6 /home/economielz/www/wp-includes/plugin.php(21 in /home/economielz/www/wp-content/plugins/wp-testing/vendor/nikic/php-parser/lib/PHPParser/Parser.php on line 1098

    Plugin Contributor ustimenko

    (@ustimenko)

    Seems that you have error in your formula.

    Or it could be bug in negative values formulas processing.

    Show us your formulas.

    Plugin Contributor ustimenko

    (@ustimenko)

    Fixed negative values substraction in 0.16.3

    Thread Starter Srgdnn

    (@srgdnn)

    OK thanks. Negative values were not allowed in the results.
    In 0.16.3, negative values will be interpreted as false?
    Actually, I believe that there is always a way to work without negative values.
    Thanks again.

    Plugin Contributor ustimenko

    (@ustimenko)

    No, it was always allowed. Just for this situation you found a bug condition. It’s now fixed, so the problem was not on your side.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Results aren't displayed’ is closed to new replies.