Forums

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

  1. lstelie
    Member
    Posted 8 months 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 8 months ago #

    I am getting the same errors.

  3. nv1962
    Member
    Posted 8 months ago #

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

  4. ac4lt
    Member
    Posted 8 months 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. nv1962
    Member
    Posted 8 months 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 8 months 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. nv1962
    Member
    Posted 8 months 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. husobj
    Member
    Posted 8 months 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.

Reply

You must log in to post.

About this Topic

Tags