Class loading issue is keeping cronjobs from running

[ad_1]

I have set up my server to run wp-cron events through a cronjob. However, the cronjob is failing due to a PHP error being caused by the Glossary plugin. I’m waiting for my host’s support team to give me the exact error from the cron error log, but so far they’ve told me it is a “PHP error relates to a class loading issue within the “glossary-by-codeat” plugin.”

Perhaps related, I can see the following warning in my server’s error log.

mod_fcgid: stderr: PHP Warning:  FS_Plugin::__construct(): The script tried to access a property on an incomplete object. Please ensure that the class definition "FS_Plugin" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in /home/-------/wp/wp-content/plugins/glossary-by-codeat/vendor/freemius/wordpress-sdk/includes/entities/class-fs-plugin.php on line 134

When I deactivate the Glossary plugin, my cronjobs run successfully.

Thanks in advance for any help!
Gaius

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer