Home Forums WoodMart support forum dark dropdowns css Reply To: dark dropdowns css

#374250

dunies
Participant

Elise, I solved the issue!

After enabling the debug I saw the error and googled it.

Issue gets fixed by adding the code below in php.ini

$opts = array(‘http’=>array(‘header’ => “User-Agent:MyAgent/1.0\r\n”));
//Basically adding headers to the request
$context = stream_context_create($opts);
$html = file_get_contents($url,false,$context);
$html = htmlspecialchars($html);

Thank you very much for your help and for your time.