Extended Error message:
Fatal error: Uncaught Error: Class 'Photocrati_Style_Manager' not found in /homepages/36/d685786107/htdocs/_bobw/wp-content/themes/photocrati-pro/header.php:2 Stack trace: #0 /homepages/36/d685786107/htdocs/_bobw/wp-includes/template.php(770): require_once() #1 /homepages/36/d685786107/htdocs/_bobw/wp-includes/template.php(716): load_template('/homepages/36/d...', true, Array) #2 /homepages/36/d685786107/htdocs/_bobw/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #3 /homepages/36/d685786107/htdocs/_bobw/wp-content/themes/photocrati-pro/page-without-content.php(6): get_header() #4 /homepages/36/d685786107/htdocs/_bobw/wp-includes/template-loader.php(106): include('/homepages/36/d...') #5 /homepages/36/d685786107/htdocs/_bobw/wp-blog-header.php(19): require_once('/homepages/36/d...') #6 /homepages/36/d685786107/htdocs/_bobw/index.php(17): require('/homepages/36/d...') #7 {main} thrown in /homepages/36/d685786107/htdocs/_bobw/wp-content/themes/photocrati-pro/header.php on line 2
The 1st 22 lines of the header.php file:
<?php
$preset = Photocrati_Style_Manager::get_active_preset();
extract($preset->to_array());
$rcp = $wpdb->get_results("SELECT fs_rightclick,lightbox_mode,lightbox_type FROM ".$wpdb->prefix."photocrati_gallery_settings WHERE id = 1");
foreach ($rcp as $rcp) {
$fs_rightclick = $rcp->fs_rightclick;
$lightbox_mode = $rcp->lightbox_mode;
$lightbox_type = $rcp->lightbox_type;
}
$music = $wpdb->get_results("SELECT music_blog,music_blog_auto,music_blog_file,music_blog_controls,music_cat,music_cat_auto,music_cat_file,music_cat_controls FROM ".$wpdb->prefix."photocrati_gallery_settings WHERE id = 1");
foreach ($music as $music) {
$music_blog = $music->music_blog;
$music_blog_auto = $music->music_blog_auto;
$music_blog_controls = $music->music_blog_controls;
$music_blog_file = $music->music_blog_file;
$music_cat = $music->music_cat;
$music_cat_auto = $music->music_cat_auto;
$music_cat_controls = $music->music_cat_controls;
$music_cat_file = $music->music_cat_file;
}
?>
Photocrati Support’s response to the problem:
“…but as weird as it may sound – it appears to be a conflict between the theme and UpdraftPlus”.
And deactivating UpdraftPlus enables the website to stop having the error.
Bob