My site momentarily went down this morning so I decided to check the server error logs… I have pasted them below but I see a lot of php errors in class-framework-widgets.php. I am running latest versions of Enfold, WordPress and php version 7.0. The same errors are also showing up on my staging environment server log.
Please advise.
Thanks,
Rob
I not a coder but this seems to be related to the Instagram widget? I no longer use that widget on my site.
* Now we check that all directories belong to a cache entry
*/
$cache_dirs = scandir( $this->upload_folders[‘instagram_dir’] );
$cache_dirs = array_diff( $cache_dirs, array( ‘.’, ‘..’ ) );
Hi,
Thank you for reporting this and sorry for the problems. We will provide a fix for the next update.
If you do not need the widget please look in file enfold\framework\php\class-framework-widgets.php around line 2249 for
/**
* WP Cron job events
*/
if( $this->activate_cron )
{
add_action( 'av_instagram_scheduled_filecheck', array( $this, 'handler_scheduled_filecheck' ), 10 );
}
and remove the lines.
Best regards,
Günter
Thank you! I found the widget in an old unused sidebar, deleted it, and it seems like the errors have stopped.
Thanks Günter!
Rob