• Environment: PHP 7.4 (to be upgraded to PHP 8 once the below warnings are resolved)
    WordPress: 6.1.1
    Logic Hop: 3.8.4

    I am seeing the following warnings in the admin (all pages) with Query Monitor:

    A. Warning in AJAX call:
    “Use of undefined constant LOGICHOP_INSTANCE – assumed ‘LOGICHOP_INSTANCE’ (this will throw an Error in a future version of PHP)”

    File: “wp-content/plugins/logic-hop/includes/Measurement.php”

    Call stack:
    3 “LogicHop_Measurement->measure()”
    2 “check_version()”
    1 “do_action(‘plugins_loaded’)”

    A. Warning in AJAX call:
    "Use of undefined constant LOGICHOP_SETTINGS - assumed 'LOGICHOP_SETTINGS' (this will throw an Error in a future version of PHP)"
    
    File: "wp-content/plugins/logic-hop/includes/Measurement.php"
    
    Call stack:
    3 "LogicHop_Measurement->measure()"
    2 "check_version()"
    1 "do_action('plugins_loaded')"
  • The topic ‘AJAX Warning on Measurement.php’ is closed to new replies.