Support » Plugin: ShrinkTheWeb (STW) Website Previews Plugin » Plugin crashes my site

  • Resolved kaspera

    (@kaspera)


    Hi.

    The plugin is suddenly crashing my site. I’ve been using it for years without any problems. Now I get this error-message: “Warning: Declaration of SettingsForm::handleSave($formValues) should be compatible with EasyForm::handleSave() in /var/www/DOMAIN.COM/public_html/wp-content/plugins/shrinktheweb-website-preview-plugin/wplib/utils_settings.inc.php on line 26”

    Also it messes up many of the characters on the site.

    How do I fix this?

    Looking forward to hearing from you.

    Regards,
    Kasper

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author puravida1976

    (@puravida1976)

    Hi Kasper,

    It sounds like that might be related to the recent update of the formbuilder library. Could you verify which version you are experiencing this with? Could you also provide any other relevant details, like WP version and OS?

    Thanks,

    Brandon

    Plugin Contributor devdokimov

    (@devdokimov)

    Hello Kasper,

    As a quick workaround try to change line 312 in wplib/utils_easyform.inc.php from:

    protected function handleSave() {}

    to:

    protected function handleSave($formValues) {}

    And tell if it fixes the problem.

    I also recommend you to change error_reporting level in your php.ini on production environment to ignore warning messages. You can find more information here:

    http://php.net/manual/en/errorfunc.configuration.php#ini.error-reporting

    I’m not sure what do you mean “it messes up many of the characters”.
    Please, provide more information (a screenshot, for example).

    Regards,
    Dmitry

    Thread Starter kaspera

    (@kaspera)

    Sorry for the late response and thank you for the answers. Dmitry’s solution fixed the issue – so that’s nice! 🙂

    By “it messes up many of the characters” I mean foreign characters (in this instance danish characters: ÆØÅ).

    Thank you for your help!

    Regards,
    Kasper

    Plugin Author puravida1976

    (@puravida1976)

    @kaspera Thank you for confirmation of the proposed solution and also for clarifying the issue with UTF-8 characters. We will investigate that and get back to you. Thanks for reporting!

    Best regards,

    Brandon

    Plugin Contributor nikitanovikov

    (@nikitanovikov)

    Hello, @kaspera.

    Could you please clarify how to reproduce the bug with danish characters?
    Or could you make a screenshot with this problem? Or link to the page with this problem?

    Regards,
    Nikita

    Plugin Author puravida1976

    (@puravida1976)

    Closing due to lack of response and inability to reproduce garbled UTF-8 characters.

    Reopen and provide requested details, if you still have this issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Plugin crashes my site’ is closed to new replies.