• I migrated a site based on a child of twentyeleven to PHP 7.2. Upgraded to WordPress 5.2.1 & upgraded plugins and themes. DEBUG was set to TRUE in wp_config. Sharebar was upgraded to 1.4.1. Four (4) different types of notices displayed until I deactivated Sharebar. Then all these notices went away:

    • Notice: has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /home/qo7gwwji1tve/public_html/wp-includes/functions.php on line 4652
    • Notice: wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.) in /home/qo7gwwji1tve/public_html/wp-includes/functions.php on line 4773
    • Notice: wpdb::prepare was called incorrectly. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see Debugging in WordPress for more information. (This message was added in version 4.8.3.) in /home/qo7gwwji1tve/public_html/wp-includes/functions.php on line 4773
    • Notice: Undefined variable: str in /home/qo7gwwji1tve/public_html/wp-content/plugins/sharebar/sharebar.php on line 105
    • This topic was modified 5 years, 5 months ago by FeralReason.
    • This topic was modified 5 years, 5 months ago by FeralReason.
  • The topic ‘Multiple Notices appearing in WP 5.2.1 running with PHP 7.2’ is closed to new replies.