• Resolved bklogos

    (@bklogos)


    Hi, we are currently running PHP v7.4 and your plugin is throwing this error. We are planning on moving up to V8.1.

    PHP message: PHP Warning: Use of undefined constant php – assumed ‘php’
    (this will throw an Error in a future version of PHP) in
    /var/www/html/wp-content/plugins/popup-anything-on-click/includes/admin/metabox/report-metabox.php
    on line 74″

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter bklogos

    (@bklogos)

    and these are the results after testing on PHPv8.1

    Nov 7, 2024 9:12:52 AM PHP message: PHP Fatal error: Uncaught Error: Undefined constant “php”
    in /var/www/html/wp-content/plugins/popup-anything-on-click/includes/admin/metabox/report-metabox.php:74″


    Nov 7, 2024 9:12:52 AM Stack trace:”

    Nov 7, 2024 9:12:52 AM #0 /var/www/html/wp-content/plugins/popup-anything-on-click/includes/admin/class-popupaoc-admin.php(96): include_once()”

    Nov 7, 2024 9:12:52 AM #1 /var/www/html/wp-admin/includes/template.php(1456):
    Popupaoc_Admin->popupaoc_report_meta_box_content(Object(WP_Post), Array)”

    Nov 7, 2024 9:12:52 AM #2 /var/www/html/wp-admin/edit-form-advanced.php(716): do_meta_boxes(Object(WP_Screen), ‘side’, Object(WP_Post))”

    Nov 7, 2024 9:12:52 AM #3 /var/www/html/wp-admin/post.php(206): require(‘/var/www/html/w…’)”

    Nov 7, 2024 9:12:52 AM #4 {main}”

    Nov 7, 2024 9:12:52 AM thrown in /var/www/html/wp-content/plugins/popup-anything-on-click/includes/admin/metabox/report-metabox.php on line 74″

    Hello,

    Please check our new version 2.8.4 and check…

    Please share your feedback…

    Thanks,

    Thread Starter bklogos

    (@bklogos)

    Hi,

    I confirm no issues on admin or site pages, no errors or warnings logged in either PHP v7.4 or v8.1

    Thanks,

    Hello,

    If you like our plugin so please share the rate and review…

    https://ww.wp.xz.cn/support/plugin/popup-anything-on-click/reviews/

    Thanks,

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘PHP Warning – undefined constant’ is closed to new replies.