fwrite(): Argument #1 ($stream) must be of type resource, bool givenTypeError Object ( [message:protected] => fwrite(): Argument #1 ($stream) must be of type resource, bool given [string:Error:private] => [code:protected] => 0 [file:protected] => /var/www/html/wp-content/themes/ldsp/page-api.php [line:protected] => 14 [trace:Error:private] => Array ( [0] => Array ( [file] => /var/www/html/wp-content/themes/ldsp/page-api.php [line] => 14 [function] => fwrite [args] => Array ( [0] => [1] => 2025-02-15 03:24:42 - ) ) [1] => Array ( [file] => /var/www/html/wp-includes/template-loader.php [line] => 106 [args] => Array ( [0] => /var/www/html/wp-content/themes/ldsp/page-api.php ) [function] => include ) [2] => Array ( [file] => /var/www/html/wp-blog-header.php [line] => 19 [args] => Array ( [0] => /var/www/html/wp-includes/template-loader.php ) [function] => require_once ) [3] => Array ( [file] => /var/www/html/index.php [line] => 17 [args] => Array ( [0] => /var/www/html/wp-blog-header.php ) [function] => require ) ) [previous:Error:private] => )