• Resolved ciclick

    (@ciclick)


    Hello, we upgrade the plugin and website crashed. Once disabled wp-bannerize website is online again. If we try to activate the wp-bannerize a fatal error appear:

    AH01071: Got error ‘PHP message: PHP Fatal error: Declaration of WPBannerize\WPBones\Database\WordPressOption::offsetExists(WPBannerize\WPBones\Database\mixed $offset): bool must be compatible with ArrayAccess::offsetExists($offset) in /xxx/xxx/xxx/xxx/httpdocs/wp-content/plugins/wp-bannerize-pro/vendor/wpbones/wpbones/src/Database/WordPressOption.php on line 240’, referer: https://www.4homemenaje.com/wp-admin/plugins.php?plugin=wp-bannerize-pro%2Findex.php

    Please, could you help us?

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

    (@gfazioli)

    @ciclick Hello, which version of PHP are you using?

    Thread Starter ciclick

    (@ciclick)

    Hello! Thank you for your quick answer. We are using 7.4.33. Is your extension compatible with this version?

    Plugin Author gfazioli

    (@gfazioli)

    @ciclick yep, there is an issue for PHP 7.4.33 – it has been fixed on v1.7.3
    thank you for reporting

    Thread Starter ciclick

    (@ciclick)

    Wow! Thank you very much! i’ve just upgrade to 1.7.3. and the extension is activated correctly without fatal error. But another fatal error occurs in the website with extension activated:

    AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: Return value of WPBannerize\WPBones\Database\WordPressOption::offsetGet() must be an instance of WPBannerize\WPBones\Database\mixed, int returned in /xxx/xxx/xxx/xxx/httpdocs/wp-content/plugins/wp-bannerize-pro/vendor/wpbones/wpbones/src/Database/WordPressOption.php:286\nStack trace:\n#0 /xxx/xxx/xxx/xxx/httpdocs/wp-content/plugins/wp-bannerize-pro/plugin/Models/WPBannerizePost.php(79): WPBannerize\WPBones\Database\WordPressOption->offsetGet()\n#1 /xxx/xxx/xxx/xxx/httpdocs/wp-content/plugins/wp-bannerize-pro/functions.php(112): WPBannerize\Models\WPBannerizePost->display()\n#2 /xxx/xxx/xxx/xxx/httpdocs/wp-content/plugins/wp-bannerize-pro/plugin/Shortcodes/WPBannerizeShortcode.php(55): wp_bannerize_pro()\n#3 /xxx/xxx/xxx/xxx/httpdocs/wp-includes/shortcodes.php(433): WPBannerize\Shortcodes\WPBannerizeShortcode->wp_bannerize()\n#4 [internal function]: do_shortcode_tag()\n#5 /var/www/vhosts/4…’

    thank you in advance!

    Plugin Author gfazioli

    (@gfazioli)

    @ciclick yep, that’s a frontend issue – fixed in v1.7.4

    thank you again for reporting

    Thread Starter ciclick

    (@ciclick)

    Super @gfazioli ! Now it seems everythings works again! Thank you very much for your super quick solution! Awesome ?? Have a nice day and thank you again.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.