• Resolved rappel

    (@rappel)


    Hi,

    I will clear the cache here – but nothing is working. Instead that I get this warning over all the settings:

    Warning: simplexml_load_string(): ^ in /is/htdocs/wp11147120_Q2RR6PQK51/www/wp-content/plugins/host-webfonts-local/includes/admin/class-settings.php on line 498

    May be you know what is wrong here, please?

    Thanks and regards,
    r.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Hi!

    This’ll be fixed in the next release. In the meanwhile you can do the following:

    1. Go to file wp-content/plugins/host-webfonts-local/includes/admin/class-settings.php
    2. Go to line 497
    3. Replace the following code:

    $xml = utf8_encode(html_entity_decode($xml));
    $xml = simplexml_load_string($xml);
    

    With the following code:

    
    libxml_use_internal_errors(true);
    $xml = utf8_encode(html_entity_decode($xml));
    $xml = simplexml_load_string($xml);
    

    That should fix it!

    Sorry for the inconvenience.

    Thread Starter rappel

    (@rappel)

    This works fine. Thank you very much,

    r.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unknown error’ is closed to new replies.