Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Warning: file_get_contents on line 367 #1160630

    Hi Mike,
    until now, it is. I did not update Enfold after the modification, however.
    Best regards,
    Daniel

    in reply to: Warning: file_get_contents on line 367 #1157870

    Hello Victoria,

    thanks for your reply. No 404 was displayed yet.

    Best regards,
    Daniel

    in reply to: Warning: file_get_contents on line 367 #1156174

    Hi Victoria,
    thank you very much for your reply! I am running Enfold version 4.6.3.1
    I used to see the error every time, yes. However, I managed to fix the error by replacing line 367 (public function get_file_content(…)) from:

    $new_content = file_get_contents( $check_path );

    to:

    $new_content = file_get_contents( $path );

    The error is gone, i.e. import does work. I also do not get any errors in the development console.
    But I don’t know if I might have broken some dependencies?

    Thank you in advance for your help.

    Best,
    Daniel

    in reply to: Warning: file_get_contents on line 367 #1155065

    Hey Rikard, hey Chili2908,
    I encountered the same problem. The file is on the path /path/to/wordpress/wp-content/uploads/sites/2/dynamic_avia/enfold.css
    As I can see, this is not the path, the asset-manager is looking for (see warning message below). Strongly looks like a problem of relative / absolute paths. Might this be due to the fact, that I use Enfold in a WP multisite environment?

    Warning: file_get_contents(/my/path/to/wordpress/https://mydomain.com/wp-content/uploads/sites/2/dynamic_avia/enfold.css): failed to open stream: No such file or directory in /my/path/to/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/asset-manager.class.php on line 367

    Please feel free to ask for any information I can provide.
    Thanks in advance for your reply.

    Best,
    Daniel

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