Database table from WordPress plugin stops working after creating a SQL trigger

[ad_1]

So I am using a form plugin (forminator) in wordpress which then by default saves the entered field into a meta table in SQL where each field is its own entry.

After I create a trigger in PHPmyadmin, it simply stops the plugin from saving into the DB that it usually does. As soon as I delete the trigger, it works as usual again. Does anybody know why this is happening? Am I altering the default PHP code in the plugin that stops it from saving into the DB?

Any advice is appreciated

[ad_2]
2 Comments
  1. You keep asking the same vague question over and over in many groups. Hire someone that has a clue about what they are doing.

  2. You’re going about this the wrong way. And you’ve posted similar questions in the past, but haven’t responded to questions about what you’re ultimately trying to do, so it’s very hard to help you.

    Getting data out of a form builder is generally a simple task, using the provided API hooks that most decent form builders provide. Digging around in SQL isn’t the way things are done in WP.

    1. What is the end goal?
    2. Where are you trying to export the data to?
    3. What format(s) does the external system accept?
    4. Have you read the Forminator documentation? eg the `forminator_form_after_save_entry` hook, combined with `get_entry()` is what you should be using here.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer