WordPress.org

Forums

  1. chetan0412
    Member
    Posted 1 year ago #

    Hi,

    i am getting below error after accessing APG setting page.

    Fatal error: Cannot use object of type WP_Error as array in /home/xxx/public_html/xxxx/plugins/woocommerce-apg-weight-and-postcodestatecountry-shipping/apg-shipping.php on line 711

    https://wordpress.org/plugins/woocommerce-apg-weight-and-postcodestatecountry-shipping/

  2. Art Project Group
    Member
    Plugin Author

    Posted 1 year ago #

    That line process the information about the plugin getted from WordPress.org.

    Maybe your hosting can get external information.

  3. Art Project Group
    Member
    Plugin Author

    Posted 1 year ago #

    Until we update this bug, try to change the line 711:
    if (isset($respuesta['body'])) $plugin = get_object_vars(unserialize($respuesta['body']));

    with this other code:
    if (!is_wp_error($respuesta)) $plugin = get_object_vars(unserialize($respuesta['body']));

    Kind regards.

  4. lahive
    Member
    Posted 1 year ago #

    Hi, I just installed v1.5 and am getting this error:

    Warning: Invalid argument supplied for foreach() in C:\Projects\bashop\wp-content\plugins\woocommerce-apg-weight-and-postcodestatecountry-shipping\apg-shipping.php on line 650

  5. Art Project Group
    Member
    Plugin Author

    Posted 1 year ago #

    Read this.

  6. chetan0412
    Member
    Posted 1 year ago #

    excellent... problem solved...:)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - APG Weight and Postcode/State/Country Shipping
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.