Forum Replies Created
-
AuthorPosts
-
@Rikard I narrowed it down to this line:
require_once(‘inc/avia-partner-logo.php’);
and removed it. I do notice that all our hero images are now missing since I removed that line of php. You can see an example of what it’s supposed to look like if you visit the Wayback Machine at https://web.archive.org/web/20230613162444/https://glemser.com/
@Rikard I do notice that all our hero images are now missing since I removed that line of php. You can see an example of what it’s supposed to look like if you visit the Wayback Machine at https://web.archive.org/web/20230613162444/https://glemser.com/
@Rikard Utilizing your recommended method, I was able to determine that it was the functions.php file in the child theme that was crashing the site. The code from that file in its entirety appears below. I then deleted the code line by line and discovered it was require_once(‘inc/avia-partner-logo.php’); that was causing the crash. Do you have any idea why this might be? I’ve removed the line of code for now, but I’m unsure of what it might be powering on the site as of yet.
<?php
require_once(‘inc/theme-functions.php’);
require_once(‘inc/scripts-child.php’);
require_once(‘inc/theme-filters.php’);
require_once(‘inc/avia-partner-logo.php’);
require_once(‘inc/custom-post-types.php’);
require_once(‘inc/avia-boxes.php’);
require_once(‘inc/disable-google-maps.php’);// require_once(‘inc/theme-shortcodes.php’);
// require_once(‘inc/avia_new_section.php’);
// require_once(‘inc/pardot-iframe.php’);
// require_once(‘inc/avia-boxes.php’);
// require_once(‘inc/show-template-shortcode.php’);
// require_once(‘inc/hp-modal-popup.php’);
// require_once(‘inc/footer-highlight-widget.php’);
// require_once(‘inc/custom-post-types.php’);add_theme_support(‘deactivate_layerslider’);
@Rikard Can you help me narrow down the number of files I would need to do this to? There are quite a few. Would it definitely be a PHP file or could it be a css or js file?
@Guenni007: For me, line 778 is as follows: */
Which makes no sense.It’s SFTP through Flywheel hosting.
Sure, here ya go. Thanks!
-
AuthorPosts