• Hello,

    I receive multiple PHP warning using the post-views plugin on
    – WordPress 5.4;
    – PHP Versions 7.1.

    From my error_log:

    PHP Warning:  Use of undefined constant is_robot 
      - assumed 'is_robot' 
      (this will throw an Error in a future version of PHP) 
      in /wp-content/plugins/post-views/post-views.php on line 594
    PHP Warning:  Use of undefined constant APP_POST_TYPE 
      - assumed 'APP_POST_TYPE'
      (this will throw an Error in a future version of PHP) 
      in /wp-content/plugins/post-views/post-views.php on line 1854

    The second warning is thrown on multiple lines: 1854 1855 1861 1864 1865.

    • This topic was modified 4 years, 10 months ago by orion42.
    • This topic was modified 4 years, 10 months ago by orion42. Reason: code layout edit

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Warning: undefined constant is_robot and APP_POST_TYPE’ is closed to new replies.