Errors when Pro is active

Hi!

Unfortunately, due to the contract with the site owner, I cannot provide access to the site, so I hope you may shed some lite to this error based on the description. Sorry about that!

The site has Learndash installed. It works as expected on the stock theme.

However, as soon as Pro or Pro-child are activate, it throws these errors:

**Warning** : fopen(/home/*/public_html/*/wp-content/plugins/sfwd-lms/sfwd_lms.php): failed to open stream: No such file or directory in  **/home/*/public_html/*/wp-includes/functions.php**  on line  **5974**

**Warning** : fread() expects parameter 1 to be resource, bool given in  **/home/*/public_html/*/wp-includes/functions.php**  on line  **5977**

**Warning** : fclose() expects parameter 1 to be resource, bool given in  **/home/*/public_html/*/wp-includes/functions.php**  on line  **5980**

**Warning** : Cannot modify header information - headers already sent by (output started at /home/*/public_html/*/wp-includes/functions.php:5974) in  **/home/*/public_html/*/wp-includes/functions.php**  on line  **6221**

Do you have any recommendation what to do next?

Thanks!

Hi Misho,

Thanks for reaching out.

Seems what triggers it is coming from LearDash plugin based on the path, but I’m not sure what file is being accessed but failed. Perhaps you can provide the child theme and the learndash plugin so we can test this locally?

Thanks!

Sure. The Child Theme is basically still empty. The same issue is with Pro active as well. Here is the plugin in the secure note.

However, when installed straight away, there is no error. It appears after a while. All other plugins turned off do not make any change.

Thanks!

Hey There,

I have taken a look and tested the plugin on a local installation and could not replicate the issue. Since LearnDash is a plugin that is not officially supported from us please reach out to them and ask them if they have any insight about this as they have more experience with their own software and regularly experience similar issues. Once you have heard back from them feel free to share it here so we can help you and them to resolve this.

On a side note: Did you try removing the LearnDash folder in the plugins folder and do a fresh installation of the plugin? Sometimes inconsistencies and corruption of single files can cause this so it is worth a shot.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.