Home Forums WoodMart support forum File Get Contents Error Log

File Get Contents Error Log

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #250992

    Master
    Participant

    [14-Dec-2020 21:21:09 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/…/domains/mydomain/public_html/wp-content/plugins/woodmart-core/post-types.php on line 629
    [14-Dec-2020 21:21:09 UTC] PHP Warning: file_get_contents(https://mydomain/wp-content/uploads/2020/11/mobile-light-logo.svg): failed to open stream: no suitable wrapper could be found in /home/…/domains/mydomain/public_html/wp-content/plugins/woodmart-core/post-types.php on line 629

    I have disabled allow_url_fopen on the server for security reasons and I can’t use the title with image if it is svg, the other day I added some content in the prefooter area using html blocks, I added five svg files but they where not showing up, I converted them to png files and then it worked. Later I checked my error_log file and I had like 30 errors as described above.

    I am not using the svg plugin, only enable svg uploads in settings for some files than disable.

    Thanks

    #251037

    Artem Temos
    Keymaster

    Hello,

    If you are using our Info box element with SVG, you need to enable this function on your server. Otherwise, it would be not possible to load SVG content and display it as HTML code with all the related possibilities like colors and animations.

    Kind Regards

    #251172

    Master
    Participant

    Thank you, I will stick with png for box elements.

    #251176

    Artem Temos
    Keymaster

    You are welcome. Feel free to contact us if you have any questions.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘File Get Contents Error Log’ is closed to new replies.