• Resolved ShineXA

    (@shinexa)


    Dear Alexander
    Hi!

    I have this message

    Fatal error: Call to undefined function token_name() in /home/liz49ar1or/test.lifeful.ru/docs/wp-content/plugins/wp-testing/vendor/nikic/php-parser/lib/PHPParser/Lexer.php on line 190

    when I try to save the test page in admin panel after I create formulas for my test results.
    What can I do?

    Regards
    Irina

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

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

    (@ustimenko)

    Hi Irina!

    Most possibly you need to change a hosting company.

    As those function, that is used by php-parser library, is built-in function.

    To prove my statement you can do this:

    * find some wordpress plugin that is provide phpinfo (google for one)
    * then in those phpinfo you can prove by two ways: either there will be something like “disable-tokenizer” or function “token_name” will be in disabled functions

    In both cases you should contact your hosted and if they will not fix it — just find those who knows how to configure PHP.

    Thread Starter ShineXA

    (@shinexa)

    Ok, I turn on a module tokenizer.

    Now when I test my test as a user I have this:

    Fatal error: Uncaught exception ‘fProgrammerException’ with message ‘The column specified, passing_created, does not exist’ in /home/liz49ar1or/test.lifeful.ru/docs/wp-content/plugins/wp-testing/vendor/flourish/flourish/fActiveRecord.php:2729 Stack trace: #0 /home/liz49ar1or/test.lifeful.ru/docs/wp-content/plugins/wp-testing/src/Model/AbstractModel.php(249): fActiveRecord->set(‘passing_created’, 1434043479) #1 /home/liz49ar1or/test.lifeful.ru/docs/wp-content/plugins/wp-testing/vendor/flourish/flourish/fActiveRecord.php(990): WpTesting_Model_AbstractModel->set(‘created’, 1434043479) #2 /home/liz49ar1or/test.lifeful.ru/docs/wp-content/plugins/wp-testing/src/Model/AbstractModel.php(207): fActiveRecord->__call(‘setCreated’, Array) #3 /home/liz49ar1or/test.lifeful.ru/docs/wp-content/plugins/wp-testing/src/Model/Passing.php(70): WpTesting_Model_AbstractModel->__call(‘setCreated’, Array) #4 /home/liz49ar1or/test.lifeful.ru/docs/wp-content/plugins/wp-testing/src/Model/Passing.php(70): WpTesting_Model_Passing->setCreated(143404347 in /home/liz49ar1or/test.lifeful.ru/docs/wp-content/plugins/wp-testing/vendor/flourish/flourish/fActiveRecord.php on line 272

    What can I do?

    Plugin Contributor ustimenko

    (@ustimenko)

    Pls deactivate and activate plugin. This is known issue that will be fixed in next release or hot fix.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error when I create a formula’ is closed to new replies.