This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Errors throughout the plugins Admin

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Errors throughout the plugins Admin

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1754
    shaoneshaone
    Participant

    Hi There,

    Just installed the plugin and see a lot of erros in WP admin. I’m in a local dev environment, LEMP stack, WP 3.9, Genesis framework, Pods framework, Visual Composer installed also.

    Installed plugin in usual way in this folder: ajax-search-pro

    Errors as follows:

    http://local.wordpress.dev/wp-admin/admin.php?page=ajax-search-pro/backend/settings.php

    http://local.wordpress.dev/wp-admin/admin.php?page=ajax-search-pro/backend/cache_settings.php

    http://local.wordpress.dev/wp-admin/admin.php?page=ajax-search-pro/backend/compatibility_settings.php

    Produce the following…

    Notice: Undefined variable: args in /srv/www/wordpress-default/wp-content/plugins/ajax-search-pro/backend/settings/class/type.class.php on line 15

    http://local.wordpress.dev/wp-admin/admin.php?page=ajax-search-pro/backend/statistics.php

    produces the following…

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1]
    SELECT * FROM wp_ajaxsearchpro WHERE id=

    Any ideas what is causing this and how to fix it, was really looking forward to exploring the plugin and getting things setup!

    Thanks
    Sean

    #1755
    shaoneshaone
    Participant

    In wigets “Ajax Search Pro” I gte the following error reported:

    Notice: Undefined index: searchid in /srv/www/wordpress-default/wp-content/plugins/ajax-search-pro/includes/widgets.php on line 20

    And this keeps being output into title field:

    <br /><b>Notice</b>: attribute_escape is deprecated since version 2.8! Use esc_attr() instead. in <b>/srv/www/wordpress-default/wp-includes/functions.php</b> on line <b>3078</b><br />Search Ajax

    • This reply was modified 12 years, 1 month ago by shaoneshaone.
    #1757
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Thank you for reporting those notices! You can disregard them by turning off E_NOTICE from error reporting, none of them should affect the search functionality in any ways (since those are only notices)

    Let me run a deeper Notice check, then I will upload a fixed version of the search files that will fix these errors-

    #1763
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi again!

    I’m attaching a version with the notice fixes!

    #1765
    shaoneshaone
    Participant

    Thanks Ernest, I can confirm that fixes the errors!

    p.s. While in dev mode I keep error reporting on so as not to miss anything important that may break things down the road

    All the best
    Sean

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.