• Resolved jpschwartz

    (@jpschwartz)


    I’m getting a fatal error when I try to activate Give:

    Fatal error: Uncaught Give\Framework\Database\Exceptions\DatabaseQueryException: Database Query in /home/zixmfpnd/public_html/wp-content/plugins/give/src/Framework/Database/DB.php:247 Stack trace: #0 /home/zixmfpnd/public_html/wp-content/plugins/give/src/Framework/Database/DB.php(49): Give\Framework\Database\DB::runQueryWithErrorChecking() #1 /home/zixmfpnd/public_html/wp-content/plugins/give/src/MigrationLog/Migrations/CreateMigrationsTable.php(64): Give\Framework\Database\DB::delta() #2 /home/zixmfpnd/public_html/wp-content/plugins/give/includes/install.php(543): Give\MigrationLog\Migrations\CreateMigrationsTable->run() #3 /home/zixmfpnd/public_html/wp-content/plugins/give/includes/install.php(99): __give_register_tables() #4 /home/zixmfpnd/public_html/wp-content/plugins/give/includes/install.php(49): give_run_install() #5 /home/zixmfpnd/public_html/wp-content/plugins/give/give.php(410): give_install() #6 /home/zixmfpnd/public_html/wp-includes/class-wp-hook.php(308): Give->install() #7 /home/zixmfpnd/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #8 /home/zixmfpnd/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /home/zixmfpnd/public_html/wp-admin/plugins.php(194): do_action() #10 {main} Next Give\Framework\Migrations\Exceptions\DatabaseMigrationException: An error occurred while creating the wp_5989give_migrations table in /home/zixmfpnd/public_html/wp-content/plugins/give/src/MigrationLog/Migrations/CreateMigrationsTable.php:66 Stack trace: #0 /home/zixmfpnd/public_html/wp-content/plugins/give/includes/install.php(543): Give\MigrationLog\Migrations\CreateMigrationsTable->run() #1 /home/zixmfpnd/public_html/wp-content/plugins/give/includes/install.php(99): __give_register_tables() #2 /home/zixmfpnd/public_html/wp-content/plugins/give/includes/install.php(49): give_run_install() #3 /home/zixmfpnd/public_html/wp-content/plugins/give/give.php(410): give_install() #4 /home/zixmfpnd/public_html/wp-includes/class-wp-hook.php(308): Give->install() #5 /home/zixmfpnd/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #6 /home/zixmfpnd/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /home/zixmfpnd/public_html/wp-admin/plugins.php(194): do_action() #8 {main} thrown in /home/zixmfpnd/public_html/wp-content/plugins/give/src/MigrationLog/Migrations/CreateMigrationsTable.php on line 66

    I’m using WP 6.2.2, PHP 8.0, and Give 2.29.2

    Any suggestions?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Matheus Martins

    (@matheusfd)

    Hi, @jpschwartz.

    Glad you reached out.

    I’ve seen a similar issue before, but it would happen when you update GiveWP from an older version to a newer one, and it happens because, during the process, database tables need to be created. Some hosts can prevent some tables from being created (sometimes you do not have the correct privileges, for example).

    Can you let me know if this issue happened after an update or if it happen right after you install a fresh GiveWP on your site? And if it happens after an update, I need to know the version you are coming from so we can try to replicate it on our end.

    Your success with online donations is our number one priority. Looking forward to helping you get to the bottom of this!

    Thread Starter jpschwartz

    (@jpschwartz)

    Matheus,

    Thanks for your quick response!

    The problem occurred with a fresh installation of the plugin. When the error occurred (trying to activate), I deleted the plugin and tried to reinstall it.

    I have tried isolating the plugin from others to see if there’s a conflict, but without success.

    Looking forward to hearing from you again,

    Jim

    Plugin Support Matheus Martins

    (@matheusfd)

    Hi, @jpschwartz.

    Can you try to install the latest version of the GiveWP plugin and let me know if the issue persists? Also, can you give me a step by step guide so I can replicate it on my end?

    Looking forward to helping you get to the bottom of this!

    Plugin Support Matheus Martins

    (@matheusfd)

    Hi, @jpschwartz.

    It’s been a while since we’ve heard back, and I know troubleshooting needs a little extra time. I’m marking this as resolved for now, but if you still have questions, you can send them along right here, and I’ll be happy to hop back in.

    Have a great day!

    Thread Starter jpschwartz

    (@jpschwartz)

    I’ve been away on vacation. The issue with failure to activate persists. I’ve just updated to version 2.31.0, but activation still elicits the same fatal error. Is there any work-around for this problem? Perhaps a function? The error ends in public_html/wp-admin/plugins.php(194): do_action() #8 {main} thrown in /home/username/public_html/wp-content/plugins/give/src/MigrationLog/Migrations/CreateMigrationsTable.php on line 66

    Give looks like a perfect solution for my needs. I’m using the free version but would pay for help.

    Jim

    Thread Starter jpschwartz

    (@jpschwartz)

    This problem is not resolved. Please respond.

    Jim

    Plugin Support Matheus Martins

    (@matheusfd)

    Hi, @jpschwartz.

    Based on the error you shared, it looks like the database upgrades did not occur successfully on your website. Can you navigate to donations > tools > logs and check if there are errors there? If they do exist, pass them here.

    Looking forward to helping you get to the bottom of this!

    Thread Starter jpschwartz

    (@jpschwartz)

    I can’t navigate to donations… if activation fails.

    Plugin Support Matheus Martins

    (@matheusfd)

    Hi, @jpschwartz.

    I think we will need to take a deeper look into this. Please get in touch with me using this link: https://givewp.com/contact-us. On the Subject of your Inquiry item, select I am responding to a request to contact you.

    Also, add the URL of this support ticket to your message so I know what we were discussing.

    I’ll mark this ticket as resolved for now and we work on it via priority support. After we solve your issue, I’ll add a comment here explaining the solution.

    Looking forward to helping you get to the bottom of this!

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

The topic ‘Fatal Error upon activation’ is closed to new replies.