• Resolved mxm.k.marquette

    (@mxmkmarquette)


    Warning: file_get_contents(/home/lesprenoms/public_html/wp-content/plugins/wonderm00ns-simple-facebook-open-graph-tags/includes/FacebookLocales.xml): failed to open stream: No such file or directory in /home/lesprenoms/public_html/neufsvies/wp-content/plugins/wonderm00ns-simple-facebook-open-graph-tags/admin/options-page-facebook.php on line 246

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter mxm.k.marquette

    (@mxmkmarquette)

    and it don’t suppres the cache anymore like everything was working with 2.0.2…

    Thread Starter mxm.k.marquette

    (@mxmkmarquette)

    Locale:
    32759 Warning: file_get_contents(/home/lesprenoms/public_html/wp-content/plugins/wonderm00ns-simple-facebook-open-graph-tags/includes/FacebookLocales.xml): failed to open stream: No such file or directory in /home/lesprenoms/public_html/neufsvies/wp-content/plugins/wonderm00ns-simple-facebook-open-graph-tags/admin/options-page-facebook.php on line 246

    Hi there,

    Warning: file_get_contents(/home/lesprenoms/public_html/wp-content/plugins/wonderm00ns-simple-facebook-open-graph-tags/includes/FacebookLocales.xml): failed to open stream: No such file or directory in /home/lesprenoms/public_html/neufsvies/wp-content/plugins/wonderm00ns-simple-facebook-open-graph-tags/admin/options-page-facebook.php on line 246

    Something on your hosting is not allowing php to access the FacebookLocales.xml file. Maybe permissions problem. Have you tried the “Reload from Facebook” option?

    and it don’t suppres the cache anymore like everything was working with 2.0.2

    Nothing has changed on the “clear cache from Facebook” routine since it has been created. We must remember we are dealing with Facebook here. Something that worked yesterday will not work today and will work again tomorrow.

    We’re not having any Facebook cache update problems on several websites we run.

    What error specifically are you seeing? Can you give us an example URL?

    Thread Starter mxm.k.marquette

    (@mxmkmarquette)

    hi sorry for the late reply, i don’t have the reload from facebook option,

    problem with locale

    and everything is set as it should, i finally correct the bug for the purge/update facebook cache it was cause by an old function for instant article set in function.php that was jamming the thing but for the locale i don’t know what to do…

    Thread Starter mxm.k.marquette

    (@mxmkmarquette)

    /**
     * Facebook Instant Articles uses transients to store content for a week, unless updated
     * since we're in dev we need to flush it often
     *
     * @return [type] [description]
     */
    function flush_transients() {
        $latest = new \WP_Query( [
            'posts_per_page' => self::TOTAL_POSTS,
            'fields' => 'ids',
            'orderby' => 'modified',
            'no_found_rows' => true,
            ] );
    
        foreach ( $latest->posts as $id )
            delete_transient( 'instantarticles_content_' . $id );
    }

    the function that was blocking was that ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘i have this error with latest update’ is closed to new replies.