• sonnd9x

    (@sonnd9x)


    My domain include number characters (24)
    So when you replace number of view to image

    for ($i = 0; $i <= 9; $i++) {
    $temp = “<_img src='”. plugins_url (“styles/$style/$i$ext” , __FILE__ ) .”‘ />”;
    $temp = str_replace(get_home_url(), “%domain%”, $temp );
    $totviewsgbr = str_replace($i,$temp , $totviewsgbr);
    }
    $totviewsgbr = str_replace(“%domain%”, get_home_url(), $totviewsgbr);

    Temporary solution to fix this issue.

    • This topic was modified 7 years ago by sonnd9x.

The topic ‘Error when my domain include number characters’ is closed to new replies.