Weird error

Hi. Please look at this website. Which has x inslalled and child theme ICON.

The site is:

If you look on any page this error is coming up INSIDE each page Error. Page cannot be displayed. Please contact your service provider for more details. (11)

The client bought this theme and had no clue as to where the lisence was so we purchased a new one. If you could help that be great. My guess its an issue with the child theme AS if I disable and go directly the parant OR change to a generic WP theme that error goes away. Any help would be super appreciated as its killing their site as people see that error and immediately click off. If needed I can give you temp backend access. Thanks.

Hello There,

Thanks for writing in! As you have mentioned, I am guessing that a line of code in the child theme’s functions.php file is causing the fatal error. If you could post in your next reply the contents of the child theme’s functions.php file, that would help us determine which line or code is causing the issue. It would also be good if you can share the WP access of your site so that we can investigate further.

Regards.

sent secure note with information. Thanks so much for your help.

Hey @designlove2018,

Please download the X child theme from https://theme.co/apex/child-themes. Extract functions.php file from the downloaded child theme and replace your current child theme’s functions.php with it.

If that does not help, rename the custom template files one by one until you filter out what’s causing the issue. Just note that if the issue is coming from a template file, you will need to consult with a third party developer.

This is probably not related to the issue but after that, remove this line from your style.css

Thanks.

Hello @designlove2018,

This ticket is showing up in the unresolved ticket list. However, I am not quite able to figure out the additional information you might have added. Have you updated this ticket? If yes, can you please let us know the information you have added as the last response on this ticket is by my colleague @christian_y.

Thanks.

I sent along the id and pw in a secure note. I do not see where i can send you a secure message? reallly need to get this fixed. Thanks so much for your time.

Hi there,

I have checked your site and it looks like some of your site files are compromised.

You can check it using Wordfence > Scan.

This happens when you site is hacked and some codes are added to the site files. Kindly reset all your password and get in touch with your hosting provider to have your FTP details reset.

Hope this helps.

ok. So here is the deal and hopefully this helps or I guess im on my own. If you go in the back end and use ANY otherTHEME OTHER than the child me that error goes away. So ovbiously its the child theme. I am not a dev person but that makes logical sense to me? If you can think of anything based on that please let me know and as always thanks for your time.

ok. One last question. Pretty much figured out the issue with the error message. How do I CENTER the logo in the navbar. Thanks.

Hello @designlove2018,

Thanks for updating the thread.

You can add following CSS under X > Theme Options > CSS to center align logo:

.x-brand.img {
    margin: 0 auto;
    text-align: center;
    float: none;
}

If you would like to learn CSS, please take a look at following source:

https://developer.mozilla.org/en-US/docs/Learn/CSS/Introduction_to_CSS

Thanks.

plz dont laugh. One last request and this will be closed. On the nav bar. How can I can get a divider below the like it is on top right below the logo. Thanks again for your help.

Hello @designlove2018,

Thanks for updating the thread.

You can add following CSS under X > Theme Options > CSS:

.entry-wrap .x-container-fluid.max.width {
    border-top: 1px solid #ddd;
    margin-top: 21px;
}

Thanks.

thank you. ONE last thing. sorry. I just noticed that on IPAD portrait and smartphone the nav is not showing up. Thanks again inadvance.

Hi,

Your mobile button is there but somehow the font-size was set to zero which makes it invisible.

To fix it, you can add this in Theme Options > CSS

@media (max-width: 979px) {
.x-btn-navbar {
   font-size:24px !important;
   float: none;
    display: inline-block;
    margin-bottom: 20px;
}
}

Hope that helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.