WordPress.org

Ready to get started?Download WordPress

Forums

Nokia Maps & Places
Getting PHP Notices when WP_Debug set to True (7 posts)

  1. tukangpolesweb
    Member
    Posted 2 years ago #

    Hi, I'm making a website that will offer quite a lot of information using a map, and I am interested in using Nokia Maps & Places plugin. My question is how to address the following php notices? I've tried it on WordPress 3.3 and 3.4.1.

    Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks.

    Thank you.

    http://wordpress.org/extend/plugins/nokia-mapsplaces/

  2. radek.adamczyk
    Member
    Plugin Author

    Posted 2 years ago #

    Hi tukangpolesweb,
    many thanks for the feedback we will look into the issue and
    let you know if we manage to fix it.

  3. radek.adamczyk
    Member
    Plugin Author

    Posted 2 years ago #

    Hi tukangpolesweb,
    I am struggling to reproduce this issue. Please let me know the exact,
    path to reproduce it, since i have enabled WP_DEBUG as well as i have changed the error_reporting in php.ini to show notices but still i cannot
    reproduce this issue. Please let me know if it is valid and if yes then please tell me step by step how can i reproduce it, so i can fix it nad release patch to the plugin. (i tried WP 3.4.1, Php 5.3.8, Apache 2.2.21)

    Best Regards,
    Radek

  4. tukangpolesweb
    Member
    Posted 2 years ago #

    Hi radek.adamczyk, sorry to have inconvenienced. And thank you for responding to my question.

    I'm using Mac OS X 10.5.8 (Leopard) to develop websites, and live server operating systems I use Debian GNU/Linux. For development I use MAMP Pro 1.9.6.1, Apache 2.0, PHP 5.3.5 and MySQL 5.5.9. And for development purposes I always turn WP_Debug set to true and setting for PHP always error_reporting = E_ALL & ~ E_NOTICE.

    I am interested in using nokia map because in my country (Indonesia), nokia maps can display business listings, although not yet support 3D and street view but it was enough for us.

    I have tried this plugin in WordPress versions 3.3, 3.3.2 and 3.4.1 but the result is no different. And one more problem, I do not know what happened, but when I try to use latitude and longitude using this plugin show wrong results. The problem is if I use the geocoding results are not as accurate when using latitude and longitude.

    Excuse my language, perhaps the screenshots I've made ​​can explain it better.

    And again, thank you.

    Admin Plugins:
    http://dl.dropbox.com/u/147206/Forum/a-wp-debug-true-admin-plugins.png

    Edit Post:
    http://dl.dropbox.com/u/147206/Forum/b-wp-debug-true-edit-post.png

    Insert Screen 1:
    http://dl.dropbox.com/u/147206/Forum/c-wp-debug-true-insert-screen-1.png

    Insert Screen 2:
    http://dl.dropbox.com/u/147206/Forum/d-wp-debug-true-insert-screen-2.png

    Update Post or Preview Post:
    http://dl.dropbox.com/u/147206/Forum/e-wp-debug-true-preview-post.png

    Login Screen:
    http://dl.dropbox.com/u/147206/Forum/f-wp-debug-true-wp-login.png

    Failed to login:
    http://dl.dropbox.com/u/147206/Forum/g-wp-debug-true-try-to-login.png

    No problem when WP_Debug set to false:
    http://dl.dropbox.com/u/147206/Forum/h-wp-debug-false-preview-post.png

    Good results in Nokia Maps website:
    http://dl.dropbox.com/u/147206/Forum/i-maps.nokia.com-longitude-latitude.png

  5. radek.adamczyk
    Member
    Plugin Author

    Posted 2 years ago #

    Hi tukangpolesweb,
    I have published the new version 1.6.1 which should fix the NOTICE errors during the debug mode.

    The geo code differences in positioning misalignment comes out because in the maps api we are using different geocoding services than maps.nokia.com. Our services guys are working to align the data until then you might see some small misalignment.

  6. radek.adamczyk
    Member
    Plugin Author

    Posted 2 years ago #

    I am marking this as resolved please reopen if You will find any more issues.

  7. tukangpolesweb
    Member
    Posted 2 years ago #

    Wow very glad to hear it. Thank you for your hard work. I appreciate it. I can't wait to implement it on our website. I already download it and of course a five star for this plugin and your support. Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic