Moderator
t-p
(@t-p)
Internal server errors (error 500) are often caused by plugin or theme function conflicts, so if you have access to your admin panel, try deactivating all plugins. If you don’t have access to your admin panel, try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, try switching to the default theme for your version of WordPress to rule-out a theme-specific issue. If you don’t have access to your admin panel, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue.
If that does not resolve the issue, it’s possible that a .htaccess rule could be the source of the problem. To check for this, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and rename the .htaccess file. If you can’t find a .htaccess file, make sure that you have set your SFTP or FTP client to view invisible files.
If you weren’t able to resolve the issue by either resetting your plugins and theme or renaming your .htaccess file, we may be able to help, but we’ll need a more detailed error message. Internal server errors are usually described in more detail in the server error log. If you have access to your server error log, generate the error again, note the date and time, then immediately check your server error log for any errors that occurred during that time period. If you don’t have access to your server error log, ask your hosting provider to look for you.
Hi Tara!
I followed the advice and it was W3 Cache that was causing the errors. Though, now the Home page appears to not only lack my placeholder content BUT also the html used to create the entry box.
HomePage: http://dreamweb4you.co.uk/jc/home/
Backend picture of what should be on homepage: http://pasteboard.co/1TzBJ0rP.png
Is the best course of action continue to turn off plugins OR take a look at the backend php.
This is what it is on the page.php template
<?php get_header(); ?>
<div class="afterMenu pageContent">
<div class="contentBlock">
<?php
if(have_posts()):while(have_posts()):the_post();
if(is_page('About')){//About Block
echo '<div class="overlaycontent"><div class="overlaytext"><h2>'.get_the_title().'</h2><p>'.get_the_content().'</p></div></div>';
echo do_shortcode('[metaslider id=190]');
//Creating Div for small size screen
echo '<div class="overlaycontentsmall"><h2>'.get_the_title().'</h2>';
echo '<p style="margin-bottom:20px;">'.get_the_content().'</p></div>';
}elseif(is_page('Services')){//Services Block
echo '<div class="overlaycontent"><div class="overlaytext"><h2>'.get_the_title().'</h2><p>'.get_the_excerpt().'</p></div></div>';
echo do_shortcode('[metaslider id=192]');
//Creating Div for small size screen
echo '<div class="overlaycontentsmall"><h2>'.get_the_title().'</h2>';
echo '<p style="margin-bottom:20px;">'.get_the_content().'</p></div>';
}elseif(is_page('Home')){//Home Block
echo do_shortcode('[metaslider id=198]');
}
else {
the_content();
}
endwhile;
Moderator
t-p
(@t-p)
I followed the advice and it was W3 Cache that was causing the errors
Glad to know it 🙂
Theme: Custom
– These forums are for free themes available in the WordPress theme directory at ww.wp.xz.cn/themes/. So please go to their official support channel, so you can get support from the people who know it best. Forum volunteers are also not given access to commercial products, so they would not know why it is not working properly. Other community members who may have faced your issue might be able to help you but your best bet is your product’s developer. Keep in mind we encourage you to use the official support venues, as it allows the developers to be aware of issues with their code and gives back to the community in a more robust way. See http://codex.ww.wp.xz.cn/Forum_Welcome#Commercial_Products