Forum Replies Created
-
AuthorPosts
-
Perfect thanks Yigit
I tried that but it created a new column. It didn’t give mega menu options.
ThanksThanks Yigit but I need to remove the links so they are just headings.
Thank you Ismael I suspected as much. I knew you guys would know. I’ll alter the date added.
Thanks as always
RobBrilliant I’ll try that next time.
Muchos muchos gracias
RobHi Yigit,
Good news! The site appears to be working fine in PHP 8.0.2 with that line commented out. I have asked the users to go in and do their stuff and report back any anomalies.
Many many thanks in your help with this.
One final (hopefully) question. How did you find that error? Is there a tool I can use to check the PHP if this happens in future?
All the very best
RobHi Yigit,
FYI I just testedecho implode(get_field('page_layout'));
on the test site and I get this error:Parse error: syntax error, unexpected token “&” in /home/cluster-sites/6/o/orionit.co.uk/public_html/wp-content/themes/enfold-child/includes/loop-index.php on line 150
I am doing it tomorrow at 10am. I will use the commented one.
Thanks
RobYou are a diamond! Thanks Yigit. I will do it Tuesday.
FYI Just found this. Don’t fully get it but it looks like the reason:
https://www.php.net/manual/en/function.implode.phpHi Yigit brilliant thanks I’ll try that on the live site next week and see if it works. I will need to notify the people who add the stories so they are hands off.
The staging site is on a crappy old server I have with 123-reg. I need to move to a newer one. The live site doesn’t have the resources issues so all the plugins work okay.
Please keep this open and I will let you know how I get on.
Thanks again.
RobSorry capital U at the end.
Thanks Yigit. No rush.
Hi guys it is now accessible with errors because I had to disable another plugin (wp-no-category-base).
When you go to the page (edwin-thomas-butcher) below you get this error.
Does this tell us anything?
Let me know if you want me to upload documents or send you FTP info.
Thanks
Rob
Fatal error: Uncaught TypeError: implode(): Argument #1 ($pieces) must be of type array, string given in /home/cluster-sites/6/o/orionit.co.uk/public_html/wp-content/themes/enfold-child/includes/loop-index.php:150 Stack trace: #0 /home/cluster-sites/6/o/orionit.co.uk/public_html/wp-content/themes/enfold-child/includes/loop-index.php(150): implode(‘, ‘, NULL) #1 /home/cluster-sites/6/o/orionit.co.uk/public_html/wp-includes/template.php(772): require(‘/home/cluster-s…’) #2 /home/cluster-sites/6/o/orionit.co.uk/public_html/wp-includes/template.php(716): load_template(‘/home/cluster-s…’, false, Array) #3 /home/cluster-sites/6/o/orionit.co.uk/public_html/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #4 /home/cluster-sites/6/o/orionit.co.uk/public_html/wp-content/themes/enfold/single.php(44): get_template_part(‘includes/loop’, ‘index’) #5 /home/cluster-sites/6/o/orionit.co.uk/public_html/wp-includes/template-loader.php(106): include(‘/home/cluster-s…’) #6 /home/cluster-sites/6/o/orionit.co.uk/public_html/wp-blog-header.php(19): require_once(‘/home/cluster-s…’) #7 /home/cluster-sites/6/o/orionit.co.uk/public_html/index.php(17): require(‘/home/cluster-s…’) #8 {main} thrown in /home/cluster-sites/6/o/orionit.co.uk/public_html/wp-content/themes/enfold-child/includes/loop-index.php on line 150Don’t do anything on this at the moment. I am trying to change it to PHP 8.0 to see if it fails. For some reasons the change hasn’t worked. I’ll let you know when it is ready for you.
Admin login
PS I just disabled Updraftplus and the backend is now working. Perhaps we can still use this as everything seems to work despite looking crap.
Hi I tried using Duplicator plugin to by Snap Creek but as you can see it hasn’t worked properly. Front end isn’t loading properly and back end not accessible, Can you recommend another plugin or method to create it?
ThanksI love you guys!
I do this site for free as it is my local town and I think keeping the details of those who have died for us is so important.
I’ll let you know when I have a copy to look at.
ThanksThanks Yigit. Yes that makes sense. I have contacted the server company asking for a way to do this. I will reply here when it is set up. Cheers
Perfect thanks Yigit
This reply has been marked as private.Yes that works thanks very much.
That sort of works but is it possible to change the image at the point the burger menu appears 989px. On a phone it sits over the graphic on the right. The URL of the image I would like to use is below.
Thanks… by the way, to stop the enfold logo appearing over the top of the background I have added a transparent png to the Theme Options – Logo. This is probably not the way to do it and might alter your solution.
Hi Guenni007
I don’t need it fixed or to shrink. The mobile menu would just be a small logo (340px * 156px) and burger menu like if I’d set up Enfold normally.
ThanksYour a star Rikard.
It was that piece of code causing the problems.
Many thanks
You can close this ticketSorry forgot to mention. All plugins are disabled except Woocommerce.
Hi Rikard,
I have tried restoring but I get critical errors. The host 123-reg say the problem is with the child theme I created for Enfold. Please can you look at my child theme functions,php code and see if it has errors. Apparently it is line 23. My child theme is called Orion I.T. Theme:
<?php/*
* Add your own functions here. You can also copy some of the theme functions into this file.
* WordPress will use those functions instead of the original functions then.
*/
//set builder mode to debug
add_action(‘avia_builder_mode’, “builder_set_debug”);
function builder_set_debug()
{
return “debug”;
}/* Add Custom class to all ALB elements */
add_theme_support(‘avia_template_builder_custom_css’);/*
Woocommerce 3.0.0 Compatibility Fix
Remove Enfold’s custom functions that conflict with the new image display in WooCommerce 3.0.0
*/
global $woocommerce;
if( version_compare( $woocommerce->version, ‘3.0.0’, “>=” ) ) {
function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class ) {
return $img;
}
function avia_woocommerce_post_thumbnail_description($img, $post_id){
return $img;
}
}add_action( ‘woocommerce_single_product_summary’, function() {
echo ” – FREE SHIPPING IN THE UK!”;
}, 10); -
AuthorPosts