CNHub
Forum Replies Created
-
After applying the fix I get the following error message:
Fatal error: Class ‘Google_ServiceResource’ not found in /home/colbertn/public_html/wp-content/plugins/google-analyticator/google-api-php-client/src/contrib/Google_AnalyticsService.php on line 25
The Twenty Eleven theme had the same problem, so using this thread, I worked out how to fix it.
In the functions.php file you need to locate the following:
function admired_body_classes( $classes ) { if ( ! is_multi_author() ) { $classes[] = 'single-author'; } if ( is_page_template( 'tmp-onecolumn.php' ) ) $classes[] = 'one-column'; if ( is_page_template( 'tmp-threecolumn.php' ) ) $classes[] = 'two-sidebars'; return $classes; } add_filter( 'body_class', 'admired_body_classes' );
Then update it to this:
function admired_body_classes( $classes ) { if ( ! is_multi_author() ) { $classes[] = 'single-author'; } if ( is_page_template( 'tmp-onecolumn.php' ) ) $classes[] = 'one-column'; if ( is_page_template( 'tmp-threecolumn.php' ) ) $classes[] = 'two-sidebars';{ $index = array_search('singular', $classes); if ( $index !== false ) unset($classes[$index]); } return $classes; } add_filter( 'body_class', 'admired_body_classes' );
Do you have the same problem when trying to publish both posts and pages?
Forum: Fixing WordPress
In reply to: Fatal Error and WordPress 3.7 Installation Fail.If I set it to 644 I get a 500 Internal Server error.
Forum: Fixing WordPress
In reply to: Fatal Error and WordPress 3.7 Installation Fail./public_html/wp-cron.php is set to 0-0-0
/public_html/wp-includes/cron.php is set to 6-4-4
Forum: Fixing WordPress
In reply to: Fatal Error and WordPress 3.7 Installation Fail.Thank you for the link. Have tried everything it suggested but it caused an internal server error.
Forum: Fixing WordPress
In reply to: Fatal Error and WordPress 3.7 Installation Fail.This appears repeatedly in the error log:
Insufficient permissions: /home1/cnewshub/public_html/wp-cron.php
I haven’t changed anything lately.
How do you reset the permissions for the site?
I believe we do have a recent back-up of the site. I’ve never restored from a backup before though.