• Resolved Zade

    (@nothin7)


    I’ve been getting error emails from WordPress on a couple of sites when searching with this plugin:

    Error Details
    =============
    An error of type E_ERROR was caused in line 26 of the file /home/neilrose/public_html/wp-content/plugins/search-regex/view/results.php. Error message: Uncaught Error: Call to undefined method SearchRegex::base_url() in /home/neilrose/public_html/wp-content/plugins/search-regex/view/results.php:26
    Stack trace:
    #0 /home/neilrose/public_html/wp-content/plugins/search-regex/search-regex.php(130): include()
    #1 /home/neilrose/public_html/wp-content/plugins/search-regex/search-regex.php(116): SearchRegex->render('results', Array)
    #2 /home/neilrose/public_html/wp-includes/class-wp-hook.php(286): SearchRegex->admin_screen('')
    #3 /home/neilrose/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
    #4 /home/neilrose/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #5 /home/neilrose/public_html/wp-admin/admin.php(253): do_action('tools_page_sear...')
    #6 /home/neilrose/public_html/wp-admin/tools.php(10): require_once('/home/neilrose/...')
    #7 {main}
     thrown

    Hope this can be fixed soon, so my clients don’t keep asking me about the emails.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Same error. I hope there will be an update.

    same error using WordPress 5.2 (PHP 7.0+):

    Error Details
    =============
    An error of type E_ERROR was caused in line 26 of the file /home/redacted/public_html/redacted/wp-content/plugins/search-regex/view/results.php. Error message: Uncaught Error: Call to undefined method SearchRegex::base_url() in /home/redacted/public_html/redacted/wp-content/plugins/search-regex/view/results.php:26
    Stack trace:
    #0 /home/redacted/public_html/redacted/wp-content/plugins/search-regex/search-regex.php(130): include()
    #1 /home/redacted/public_html/redacted/wp-content/plugins/search-regex/search-regex.php(116): SearchRegex->render('results', Array)
    #2 /home/redacted/public_html/redacted/wp-includes/class-wp-hook.php(286): SearchRegex->admin_screen('')
    #3 /home/redacted/public_html/redacted/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
    #4 /home/redacted/public_html/redacted/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #5 /home/redacted/public_html/redacted/wp-admin/admin.php(253): do_action('tools_page_sear...')
    #6 /home/redacted/public_html/redacted/wp-admin/tools.php(10): require_once('/home/redacted/...')
    #7 {main}
      thrown

    I tried to contact directly the developer but no answer (he works for Automattic !).

    I’m getting the same error messages via email from my host even though the plugin itself works perfectly well! It’s just annoying having to explain it to my clients over and over again.

    Hi.

    i get the same mail and error.

    so in
    /search-regex/view/results.php
    line 26 i replaced

    <?php echo plugins_url( '/images/small.gif', $this->base_url() ); ?>
    with
    <?php echo plugins_url( '/images/small.gif', __FILE__ ); ?>

    now everything works fine.

    i am suprised that the plugin author fully supports his number one plugin and this plugin with over 100.000 installs doent interest him.

    Thank you @espiat that solves it. That tiny plugin is really useful for fast updates, a pity the author abandoned it ??

    Plugin Author John Godley

    (@johnny5)

    Please upgrade to version 2.0 which does not have this problem.

    the plugin author fully supports his number one plugin and this plugin with over 100.000 installs doent interest him

    I am limited by time, not interest.

    I tried to contact directly the developer but no answer

    I can find no record of this in my emails. However, see the above time limit, and the new 2.0 version.

    Marking this as resolved.

    Thank you very much John!! I really love this plugin, easy to work with and fast, and your other redirection one. Both very useful, thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Your Site is Experiencing a Technical Issue’ is closed to new replies.