Forums

[Plugin: WP Geo] 306 : Failed opening 'filters.php' for inclusion (14 posts)

  1. lstelie
    Member
    Posted 3 years ago #

    Hello,

    WP-Geo worked like a charm until last update, but since :

    Warning: include(filters.php) [function.include]: failed to open stream: No such file or directory in /foo/wp-content/plugins/wp-geo/wp-geo.php on line 1369

    Warning: include() [function.include]: Failed opening 'filters.php' for inclusion (include_path='.:/usr/local/lib/php') in /foo/wp-content/plugins/wp-geo/wp-geo.php on line 1369

    Warning: include(functions.php) [function.include]: failed to open stream: No such file or directory in /foo/wp-content/plugins/wp-geo/wp-geo.php on line 1372

    Warning: include() [function.include]: Failed opening 'functions.php' for inclusion (include_path='.:/usr/local/lib/php') in /foo/wp-content/plugins/wp-geo/wp-geo.php on line 1372

    Warning: Cannot modify header information - headers already sent by (output started at /foo/wp-content/plugins/wp-geo/wp-geo.php:1369) in /foo/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 38

  2. mahvin
    Member
    Posted 3 years ago #

    I am getting the same errors.

  3. Álvaro Degives-Más
    Member
    Posted 3 years ago #

    ...and that makes three. Had to disable WP-Geo to keep the blog up.

  4. ac4lt
    Member
    Posted 3 years ago #

    If you create two empty files, filters.php and functions.php in the plugin directory, you can eliminate the warnings.

    I posted a bug report on the author's google code page for the plugin (http://code.google.com/p/wp-geo/issues/detail?id=72). Hopefully he can eliminate the warning in future versions but for now, it's fairly easy to stop the warnings.

  5. Álvaro Degives-Más
    Member
    Posted 3 years ago #

    I don't understand... So WP-Geo is actually expecting the filters.php and functions.php files to just float loose in the plugins directory? Or is that a location you found that somehow works, to avoid that error?

  6. ac4lt
    Member
    Posted 3 years ago #

    What I did was just a hack to avoid the error. According to the author, the includes of those files were a mistake and he uploaded a new version which should be fine. If you re-download the plugin, you should be ok now (though I haven't had a chance to verify that myself).

  7. Álvaro Degives-Más
    Member
    Posted 3 years ago #

    Thanks for the clarification! And: right you are, the newly uploaded version (3.0.6.1) helps that bug out of this world. Talk about fast fixing!

  8. Ben Huson
    Member
    Posted 3 years ago #

    Yep, sorry 'bout that guys.

    The filters and functions files are work-in-progress and were not supposed to be in that release - unfortunately there were references to them in the main plugin file which I forgot about.

    Let me know if you have any further issues.

  9. mcgal
    Member
    Posted 2 years ago #

    Hi guys

    I am new at this and I am also getting an error : My comment was working so reading the forum someone said to add a line to the Single.php or was it Function.php ..cant remember now ... But all I know is that after I clicked Update.. I was npt able to open my Blog
    whereisriodejaneiro.com - How do I get into the ADMIN without having to open the Blog and logging in ?

    This is the error I am getting ... Please I need to fix this before tomorrow afternoon .. as I am in a contest ..

    Parse error: syntax error, unexpected '<' in /home/content/t/h/r/thriodejaneiro/html/wp-content/themes/my-sweet-diary/functions.php on line 38

    thanks

  10. Ben Huson
    Member
    Posted 2 years ago #

    The error seems to be a problem with your theme, not the WP Geo plugin:
    wp-content/themes/my-sweet-diary/functions.php

    There is a '<' character on line 38 that is causing the error.

  11. mcgal
    Member
    Posted 2 years ago #

    Hi

    Need help again ... i am trying to login into the admin wordpress so I can update my Blog and I am getting this error.I am at the wordpress Username and Password site ..trying to enter my Blog to update it. This happens after I installed a Plugin..

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/t/h/r/thriodejaneiro/html/wp-content/plugins/twitter-blogroll/twitter-blogroll.php:203) in /home/content/t/h/r/thriodejaneiro/html/wp-login.php on line 302

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/t/h/r/thriodejaneiro/html/wp-content/plugins/twitter-blogroll/twitter-blogroll.php:203) in /home/content/t/h/r/thriodejaneiro/html/wp-login.php on line 314

    Can anyone help me ?

  12. Ben Huson
    Member
    Posted 2 years ago #

    It would seem in the Twitter Blogroll plugin, right at the end of the file there is space after the closing PHP file:

    /wp-content/plugins/twitter-blogroll/twitter-blogroll.php

    This is causing the error.

  13. nnatali
    Member
    Posted 2 years ago #

    Hello!
    Sorry but my English is very bad. I don't understand what is happening.
    Does an error for appear a blank line before the php closing tag?
    Currently:

    wp_register_widget_control(TWITTER_BLOGROLL_WIDGET_ID, __('Twitter Blogroll'), 'widget_twitter_blogroll_control');

    ?>

    Should it appear so?

    wp_register_widget_control(TWITTER_BLOGROLL_WIDGET_ID, __('Twitter Blogroll'), 'widget_twitter_blogroll_control');
    ?>

    I feel the problem arising, I will try to fix it as soon as possible.

    A greeting

  14. Ben Huson
    Member
    Posted 2 years ago #

    No, after the closing php tag there is a space:

    ?> + space

    Just delete that and it should be fine.

Topic Closed

This topic has been closed to new replies.

About this Topic