Google Maps GPX Viewer
[resolved] Errors in debug mode (2 posts)

  1. Jacob N. Breetvelt
    Posted 3 years ago #

    The following error occure when define('WP_DEBUG', true); is in wp-config.php. This is very annoying for developers. Please fix.:

    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /mnt/webf/d1/15/51893315/htdocs/opajaap/beta/wp-includes/functions.php on line 2908 Warning: Cannot modify header information - headers already sent by (output started at /mnt/webf/d1/15/51893315/htdocs/opajaap/beta/wp-includes/functions.php:2908) in /mnt/webf/d1/15/51893315/htdocs/opajaap/beta/wp-includes/pluggable.php on line 876

    The error is in map_functions.php line 61:
    It reads:

    add_options_page('Google Maps Options', 'Google Maps', 10, PLUGIN_NAME.'/php/options.php');

    and should be:

    add_options_page('Google Maps Options', 'Google Maps', 'administrator', PLUGIN_NAME.'/php/options.php');



  2. Bernd Altmeier
    Plugin Author

    Posted 3 years ago #

    thanks for that hint, it will be fixed in 3.0

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Maps GPX Viewer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.