• Resolved fifkow

    (@fifkow)


    Hi, I used tripetto on my website, but one day (probably after automatic update) i saw that my surveys are not working. I checked and i get the critical error like:

    B??d typu E_ERROR zosta? spowodowany w linii 466 pliku /var/www/html/wp-content/plugins/tripetto/admin/onboarding/onboarding.php. Komunikat b??du: Uncaught Error: Call to undefined function Tripetto\mb_strpos() in /var/www/html/wp-content/plugins/tripetto/admin/onboarding/onboarding.php:466
    Stack trace:
    #0 /var/www/html/wp-content/plugins/tripetto/admin/onboarding/onboarding.php(214): Tripetto\Onboarding::changelog()
    #1 /var/www/html/wp-content/plugins/tripetto/admin/onboarding/onboarding.php(156): Tripetto\Onboarding::page()
    #2 /var/www/html/wp-content/plugins/tripetto/admin/dashboard/dashboard.php(8): Tripetto\Onboarding::assert()
    #3 /var/www/html/wp-includes/class-wp-hook.php(303): Tripetto\Dashboard::page('')
    #4 /var/www/html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
    #5 /var/www/html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #6 /var/www/html/wp-admin/admin.php(259): do_action('toplevel_page_t...')
    #7 {main}
     thrown

    I tried to deactivate and then activate plugin – nothing changed.
    Then I tried to uninstall plugin and install it again, after installation I’ve got error on every tripetto page on admin side (tripetto, build form, forms, onboarding):

    A fatal error has occurred on the site. Additional instructions are included in the message sent to the website administrator’s e-mail address.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tripetto

    (@tripetto)

    Hi there,

    Thanks for reporting. It looks like you are missing the mbstring module of PHP. But we use these functions for quite some time now. And since the plugin worked before in your case, I assume that there is something changed in your PHP configuration. For example, your host removed the mbstring support.

    Could you answer the following questions:
    1. Which version of the plugin was installed when the error occurred?
    2. Which version of the plugin are you using now?
    3. Could you check if mbstring support is enabled/disabled on your host?

    Kind regards,

    Mark
    Tripetto

    Thread Starter fifkow

    (@fifkow)

    1. Error occured after 29.07.2021 release, but I am not sure that the plugin update is the reason why it stopped working.
    2. Now I’ve got the latest version installed (5.0.4)
    3. Yes, I will check it asap, it is possible because i am not the only person who is managing my hosting

    Thanks.

    Plugin Author Tripetto

    (@tripetto)

    Thanks for the answers! We are working as we speak on an update for the plugin to solve this issue. Since the PHP mbstring module is optional, the plugin should also work when that module is missing/disabled. I will let you know here when the work is done. We aim to release it later this week.

    If you cannot wait for that update, the only solution seems to be to install/enable mbstring support on your host. In hindsight, we have had 1 other person with the same issue. But for most people, the module seems to be activated by default. Otherwise, we would have noticed this much earlier…

    My apologies for the inconvenience. If you are a premium/pro user, please send a short message with a reference to this thread using our support form (scroll down on this page: https://tripetto.com/support/). We will then compensate your license for the time the plugin was not working properly.

    Kind regards,

    Mark
    Tripetto

    Thread Starter fifkow

    (@fifkow)

    Hi!

    I am impressed of your support – good job ??

    Of course your tip was correct! After installation mbstring everything is working fine ??

    Unfortunately I’ve got one more problem – I lost my 2 tripetto forms after reinstallation plugin, but the solution finally works!

    Thanks

    Plugin Author Tripetto

    (@tripetto)

    Hi!

    Good to hear it was already fixed by installing the mbstring support.

    Just FYI: we released an update of our plugin today (v5.1). That update includes an overall workaround for installations that don’t have mbstring support enabled/installed. So from now on this should be okay right away. Thanks again for your report on this. This makes Tripetto a bit better again ??

    Regarding your missing forms: I’m afraid you have uninstalled the whole Tripetto plugin from your WP-Admin, which also includes the deletion of the Tripetto databases with your form structures and results. So I’m afraid there’s nothing we can do from our side to get that data back. You could have a look if you have a backup of your database from before you uninstalled the Tripetto plugin and restore the Tripetto database tables from there on.

    I will resolve this support ticket for now. Please feel free to re-open it if you have any other questions regarding this case.

    Thanks for using Tripetto and have a nice day.

    Jurgen
    Tripetto

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘critical error after installing tripetto’ is closed to new replies.