• Resolved zcdwp

    (@zcdwp)


    Hi there,

    Is there something wrong with the latest update? When I install it, the site brakes.
    Error log states:
    [Sat Jun 04 09:22:37.303649 2022] [proxy_fcgi:error] [pid xxxxx:tid xxxxxxxxxx] [client xx.xx.xx.xxx:x] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined method Automattic\\WooCommerce\\Admin\\PageController::is_admin_page() in /home/xxx/domains/xxx/public_html/wp-content/plugins/cost-of-goods-for-woocommerce/includes/analytics/class-alg-wc-cog-analytics.php:52\nStack trace:\n#0 /home/xxx/domains/xxx/public_html/wp-includes/class-wp-hook.php(307): Alg_WC_Cost_of_Goods_Analytics->register_script()\n#1 /home/xxx/domains/xxx/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()\n#2 /home/xxx/domains/xxx/public_html/wp-includes/plugin.php(474): WP_Hook->do_action()\n#3 /home/xxx/domains/xxx/public_html/wp-admin/admin-header.php(118): do_action()\n#4 /home/xxx/domains/xxx/public_html/wp-admin/edit.php(397): require_once('/home/xxx/d...')\n#5 {main}\n thrown in /home/xxx/domains/xxx/public_html/wp-content/plugins/cost-of-goods-for-woocommerce/includes/analytics/class-...', referer: https://xxxxx/wp-admin/edit.php?post_type=product

    Hope you can help out.
    For now turned the plugin off.

    best regards,

    Marco

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Pablo Pacheco

    (@karzin)

    Hi @zcdwp ,

    Thanks for letting me know.
    Well, that method is supposed to exist.

    Anyway, I just released a new version (v2.5.9) with the fix.
    Please let me know if it works now ??

    Hi @zcdwp,

    I hope you are doing well and safe!

    We haven’t heard from you in a while, I’ll mark this thread as resolved.

    Feel free to let us know if you have any additional questions or problems.

    Best Regards
    Moshtafizur

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Latest 2.5.8 update brakes site’ is closed to new replies.