• Resolved erobus140bpm

    (@souljahn2)


    Thanks for superb plugin, hope i get pro version soon.

    I’m getting this on my error_log , on every request so it’s going higher on error_log mb.

    PHP Warning: htmlspecialchars(): charset `UTF-8;’ not supported, assuming utf-8 in /home/*****/public_html/wp-content/plugins/wp-seopress/inc/functions/options-social.php on line 355

    341 to 356;

    //OG URL
    function seopress_social_facebook_og_url_hook() {
    if (seopress_social_facebook_og_option() ==’1′) {

    global $wp;
    if (seopress_advanced_advanced_trailingslash_option()) {
    $current_url = home_url(add_query_arg(array(), $wp->request));
    } else {
    $current_url = trailingslashit(home_url(add_query_arg(array(), $wp->request)));
    }

    if (is_search()) {
    $seopress_social_og_url = ‘<meta property=”og:url” content=”‘.get_home_url().’/search/’.get_search_query().'” />’;
    } else {
    $seopress_social_og_url = ‘<meta property=”og:url” content=”‘.htmlspecialchars($current_url).'” />’;
    }

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Warning: htmlspecialchars(): charset `UTF-8;’ not supported’ is closed to new replies.