• Hello, after updating my wordpress website to 8.1, I updated the plugin but it gave fatal error. I’ve tried to uninstall and then reinstall it, but I didn’t solve the problem. If I disable the plugin the website seems fine.

    The error is the following:

    Fatal error: Uncaught Error: Call to undefined method TCXUpdater::wplc_upgrade_tables_to_utf8mb4() in /wp-content/plugins/wp-live-chat-support/includes/wplc_updater.php:47 Stack trace: #0 /wp-content/plugins/wp-live-chat-support/includes/wplc_activator.php(24): TCXUpdater->versionMigration(Object(TCXSettings)) #1 /wp-includes/class-wp-hook.php(303): wplc_activate(”) #2 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array) #3 /wp-includes/plugin.php(470): WP_Hook->do_action(Array) #4 /wp-admin/plugins.php(193): do_action(‘activate_wp-liv…’) #5 {main} thrown in /wp-content/plugins/wp-live-chat-support/includes/wplc_updater.php on line 47

    May you help me?

    Looking forward to your answer.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author wordpress3cx

    (@wordpress3cx)

    Hello @alicejdt ,

    Can you please be more specific what do you mean by 8.1? You update the PHP on your website to use 8.1?
    As stable version I see the 8.0 – https://www.php.net/downloads.php

    Please provide more information.

    Thread Starter alice

    (@alicejdt)

    I’m sorry, I wanted to write WordPress 5.8.1, the PHP is 7.4.25.

    Plugin Author wordpress3cx

    (@wordpress3cx)

    When you uninstall/install what is the error that you are getting?

    Thread Starter alice

    (@alicejdt)

    When I install the plugin there is no error. When I try to activate it, wordpress says I can’t and it shows this message:
    Fatal error: Uncaught Error: Call to undefined method TCXUpdater::wplc_upgrade_tables_to_utf8mb4() in /wp-content/plugins/wp-live-chat-support/includes/wplc_updater.php:47 Stack trace: #0 /wp-content/plugins/wp-live-chat-support/includes/wplc_activator.php(24): TCXUpdater->versionMigration(Object(TCXSettings)) #1 /wp-includes/class-wp-hook.php(303): wplc_activate(”) #2 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array) #3 /wp-includes/plugin.php(470): WP_Hook->do_action(Array) #4 /wp-admin/plugins.php(193): do_action(‘activate_wp-liv…’) #5 {main} thrown in /wp-content/plugins/wp-live-chat-support/includes/wplc_updater.php on line 47

    Plugin Author wordpress3cx

    (@wordpress3cx)

    Hello @alicejdt

    Can you please get in touch with us at wordpress@3cx.com to do together the clean installation of Live Chat plugin on your environment ?

    Hi one of our customer has the same issue. Did you get a fix?

    One of our clients is having the same issue as well when we try to upgrade the plugin and WordPress to the latest. What was the fix? Reinstall clean and reconfigure everything?

    Plugin Author wordpress3cx

    (@wordpress3cx)

    Hello @jboyjw ,

    Yes removing and executing a clean installation, is an option that you can try out.

    Please give it a check and let us know.

    This appears to be called in includes/wplc_updater.php as part of the migration process to upgrade. In version 9.1.1 a function was added called wplc_upgrade_tables_to_utf8mb4() but this function appears to have since disappeared:

    https://plugins.trac.wordpress.org/browser/wp-live-chat-support/tags/9.1.1/includes/wplc_updater.php

    but it looks like the contents of the function were relocated/renamed to wplc_add_files_table() in the current version.

    I updated the function in $this->wplc_migration_functions from wplc_upgrade_tables_to_utf8mb4 to wplc_add_files_table and it *appeared* to work but haven’t thoroughly tested yet.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Fatal Error after updating the plugin’ is closed to new replies.