Support » Plugin: Point of Sale POS for WooCommerce » PHP Error Log Warning

  • Resolved thebarkacademy


    Can anyone help with the following warning in my php log?

    Warning: Declaration of ZPOS\API\Taxes::get_items() should be compatible with WC_REST_Taxes_V1_Controller::get_items($request) in /srv/htdocs/wp-content/plugins/point-of-sale-pos-woocommerce/includes/API/Taxes.php on line 10

    Timestamp: 2020-01-05 13:08:03 UTC

    Stack Trace
    1. require_once(‘/srv/htdocs/wp-content…’)
    2. ZPOS\{closure}(Array(3))
    3. spl_autoload_call(‘ZPOS\API\Taxes’)
    4. ZPOS\API->register_rest_routes(WP_REST_Server)
    5. WP_Hook->apply_filters(”, Array(1))
    6. WP_Hook->do_action(Array(1))
    7. do_action(‘rest_api_init’, WP_REST_Server)
    8. rest_get_server()
    9. rest_api_loaded(WP)
    10. WP_Hook->apply_filters(null, Array(1))
    11. WP_Hook->do_action(Array(1))
    12. do_action_ref_array(‘parse_request’, Array(1))
    13. WP->parse_request(”)
    14. WP->main(”)
    15. wp()
    16. require(‘/wordpress/core/5.3.2/…’)

    URL : /wp-json/jetpack/v4/jitm?message_path=wp%3Aplugins%3Aadmin_notices&query=&_wpnonce=48221794a7
    Referer :
    HTTP Method : GET
    HTTP Host :
    HTTP Status : 200
    isSSL : Yes
    Current Filter : parse_request, rest_api_init
    Execution Time : 0.560 s
    Memory Usage : 55.52 MiB
    PHP SAPI : fpm-fcgi

Viewing 1 replies (of 1 total)
  • Plugin Author bizswoop


    Thanks for flagging this warning log. No action is needed on your side. The log is generated as part of a debug testing effort for select customers and tax classes. In the next release 1.3.3, this warning log will probably not generate.

    Quick note, if you are running your website with WP DEBUG mode enabled, you may see different logs from time to time as we continually develop the plugin fixing bugs and performance improvements.

    If you encounter any issues or bugs while using the POS plugin functionality for your business, please feel free to open up a forum issue with details.

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