Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #962828

    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

    #962830

    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( ‘.’, ‘..’ ) );

    #963788

    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

    #963792

    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

    #963826

    Hi,

    Great you found a solution.

    Feel free to come back when you need further assistance. Have a nice day.

    Best regards,
    Günter

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Lots of php server errors class-framework-widgets.php lines 3019 and 3020’ is closed to new replies.