• Resolved KoolPal

    (@koolpal)


    Hi,

    WordPress version: 5.1.1
    WooCommerce version: 3.5.7
    PHP version: 7.2.16

    On my Woocommerce status page: wp-admin/admin.php?page=wc-status&tab=status I am getting the below error:

    Warning: fopen(path to installation/wp-content/plugins/easy-theme-and-plugin-upgrades/in1it.php): failed to open stream: No such file or directory in path to installation/wp-includes/functions.php on line 5462

    Warning: fread() expects parameter 1 to be resource, boolean given in path to installation/wp-includes/functions.php on line 5465
    
    Warning: fclose() expects parameter 1 to be resource, boolean given in path to installation/wp-includes/functions.php on line 5468

    Please review and guide.

    Thanks

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

    (@chrisjean)

    While the warnings being displayed show files paths for this plugin, this is not an issue caused by this plugin. I’ll give you what I know based upon the details however.

    This plugin does not have a file named in1it.php, so I don’t know why something is trying to read information from that file. This indicates some kind of bug on the site, but there is insufficient information to know where the bug is.

    It’s tempting to think that the bug could be in WooCommerce since the warnings are popping up on that page, but if the detail about the site running version 3.5.7 of WooCommerce is accurate, that can’t be the case. That’s because version 3.5.7 of WooCommerce does not call the get_file_data() function which is what is producing the errors.

    So, a plugin, theme, custom code, or exploit on the site is using the get_file_data() function to request a file that does not exist and should not exist. That’s all I have. If you don’t know where to go from here, I recommend that you contact your hosting company for further assistance.

    Thread Starter KoolPal

    (@koolpal)

    Thank you for your detailed reply.

    Luckily this error has occurred on a staging website for me and is not critical.

    I had reported this to bring it to your notice as well as corrective action, if any.

    My main site does not display this error.

    I shall be deleting the staging site soon and that should be the end of this error.

    Thank you for this wonderful plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warning: fopen – PHP version: 7.2.16’ is closed to new replies.