• Resolved David Fuller

    (@dlfulle)


    When trying to save a test I get the error: Uncaught fProgrammerException: The noun specified could not be singularized in wp-content/plugins/wp-testing/vendor/flourish/flourish/fGrammar.php on line 604

    I have tried turning off all plugins and going to a generic theme. I also tried rolling back to WordPress 5.6.2.

    This started with a test I imported from another site if that helps. The questions didn’t import. I also tried saving a new test to make sure the import didn’t mess it up and that didn’t help either. I tried deleting the imported record and still couldn’t save. Always the same error.

    Thanks

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

    (@ustimenko)

    @dlfulle pls try to find more details of error.

    Most usable would be stack trace — the full details of error.

    Pls enable WP_DEBUG mode temporarily and repeat error — it should output more details.

    Thread Starter David Fuller

    (@dlfulle)

    Here is the full stacktrace

    Fatal error: Uncaught fProgrammerException: The noun specified could not be singularized in /wp-content/plugins/wp-testing/vendor/flourish/flourish/fGrammar.php:604 Stack trace: #0 /wp-content/plugins/wp-testing/vendor/flourish/flourish/fORM.php(362): fGrammar::singularize(‘relationship’) #1 /wp-content/plugins/wp-testing/vendor/flourish/flourish/fActiveRecord.php(2865): fORM::classize(‘wp_snc_post_rel…’) #2 /wp-content/plugins/wp-testing/src/Model/Test.php(476): fActiveRecord->store(true) #3 /wp-content/plugins/wp-testing/src/Doer/TestEditor.php(368): WpTesting_Model_Test->storeAll() #4 /nas/content/live/aboutstg/wp-includes/class-wp-hook.php(289): WpTesting_Doer_TestEditor->saveTest(60329, Object(WP_Post)) #5 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #6 /wp-includes/plugin.php(484): WP_Hook->do_action(Array) in /wp-content/plugins/wp-testing/vendor/flourish/flourish/fGrammar.php on line 604

    Plugin Contributor ustimenko

    (@ustimenko)

    Seems like it want to use some wp_snc_post_relationship table? From which plugin this table could be? I think during import this table was filled up, but now not processed by any plugin.

    Alkso pls note, that import/export is not works as expected, so you better should replicate the test on other site manually.

    Thread Starter David Fuller

    (@dlfulle)

    Interesting. That table is empty (which might be the problem.) Can’t figure out what plug-in it’s for but I also tried disabling plug-ins. Shouldn’t that have caught it?

    Plugin Contributor ustimenko

    (@ustimenko)

    Try to remove foreign between that table and wp_posts table in db.

    I think there is foreign key on it — that’s why flourish tries to save something.

    Thread Starter David Fuller

    (@dlfulle)

    Thank you. Unfortunately, I think we’re going to have to find another solution. I removed the FK and then got the same problem on two other tables. After removing all those FKs, then it wouldn’t change from draft to Publish. Thank you for the quick response.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error on Saving’ is closed to new replies.