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

  1. tukangpolesweb
    Posted 4 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.


  2. radek.adamczyk
    Plugin Author

    Posted 4 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
    Plugin Author

    Posted 3 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,

  4. tukangpolesweb
    Posted 3 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, 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:

    Edit Post:

    Insert Screen 1:

    Insert Screen 2:

    Update Post or Preview Post:

    Login Screen:

    Failed to login:

    No problem when WP_Debug set to false:

    Good results in Nokia Maps website:

  5. radek.adamczyk
    Plugin Author

    Posted 3 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
    Plugin Author

    Posted 3 years ago #

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

  7. tukangpolesweb
    Posted 3 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

  • Nokia Maps & Places
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic