Forum Replies Created
-
AuthorPosts
-
I got rid of the error by searching and removing all instances of the following link from the database:
http://test.kriesi.at/hotel/wp-content/uploads/sites/14/2015/07/ornament-bg-top-small-1.pngI’ve added the 301 redirect in the .htaccess page as suggested but the problem is not fixed.
It’s not a link anyone is purposely trying to access, it’s a broken link somewhere in the page code that has nothing to do with my website.
When you inspect the page, this is what shows up:
http://test.kriesi.at/hotel/wp-content/uploads/sites/14/2015/07/ornament-bg-top-small-1.png
Failed to load resource: the server responded with a status of 500 (Internal Server Error)The issue still occurs after I changed the theme to the original theme with default settings, instead of the child theme. Caching was off.
I added a bit of code before the closing /head to change the android tab colour:
<meta name="theme-color" content="#e5c80c" />
Here’s the code in the child theme’s header.php:
<?php if ( !defined('ABSPATH') ){ die(); } global $avia_config; $style = $avia_config['box_class']; $responsive = avia_get_option('responsive_active') != "disabled" ? "responsive" : "fixed_layout"; $blank = isset($avia_config['template']) ? $avia_config['template'] : ""; $av_lightbox = avia_get_option('lightbox_active') != "disabled" ? 'av-default-lightbox' : 'av-custom-lightbox'; $preloader = avia_get_option('preloader') == "preloader" ? 'av-preloader-active av-preloader-enabled' : 'av-preloader-disabled'; $sidebar_styling = avia_get_option('sidebar_styling'); $filterable_classes = avia_header_class_filter( avia_header_class_string() ); ?><!DOCTYPE html> <html <?php language_attributes(); ?> class="<?php echo "html_{$style} ".$responsive." ".$preloader." ".$av_lightbox." ".$filterable_classes ?> "> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <?php /* * outputs a rel=follow or nofollow tag to circumvent google duplicate content for archives * located in framework/php/function-set-avia-frontend.php */ if (function_exists('avia_set_follow')) { echo avia_set_follow(); } ?> <!-- mobile setting --> <?php if( strpos($responsive, 'responsive') !== false ) echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">'; ?> <!-- Scripts/CSS and wp_head hook --> <?php /* Always have wp_head() just before the closing </head> * tag of your theme, or you will break many plugins, which * generally use this hook to add elements to <head> such * as styles, scripts, and meta tags. */ wp_head(); ?> <meta name="theme-color" content="#e5c80c" /> </head> <body id="top" <?php body_class($style." ".$avia_config['font_stack']." ".$blank." ".$sidebar_styling); avia_markup_helper(array('context' => 'body')); ?>> <?php if("av-preloader-active av-preloader-enabled" === $preloader) { echo avia_preload_screen(); } ?> <div id='wrap_all'> <?php if(!$blank) //blank templates dont display header nor footer { //fetch the template file that holds the main menu, located in includes/helper-menu-main.php get_template_part( 'includes/helper', 'main-menu' ); } ?> <div id='main' class='all_colors' data-scroll-offset='<?php echo avia_header_setting('header_scroll_offset'); ?>'> <?php if(isset($avia_config['temp_logo_container'])) echo $avia_config['temp_logo_container']; do_action('ava_after_main_container'); ?>
Also, here’s what I have in Quick CSS:
#top .cart_dropdown { display: none; }
#twelve { background-color: rgba(0,0,0,0.5); }
#main { background-color: white; }@media only screen and (min-width: 767px) {
#top .av_header_glassy.av_header_transparency #header_main {background-color: rgba(0,0,0,0.2) !important; } }Thanks for your quick reply!
I’ve checked that section, and the ones beside it, and don’t have any custom background image there. I also see this issue in all the pages on my site I’ve checked.
You have permission to look in the WP backend if you’d like.
-Mark
-
AuthorPosts