Tagged: x
-
AuthorPosts
-
September 7, 2016 at 9:41 am #1164551
LikeLeeParticipantFatal error: Cannot redeclare custom_scripts() (previously declared in /home/content/n3pnexwpnas02_data03/69/3476169/html/wp-content/themes/x-child/functions.php:50) in /home/content/n3pnexwpnas02_data03/69/3476169/html/wp-content/themes/x-child/functions.php on line 78
Likelee.co
What happened is I didn’t notice to functions are with the same name and added them via editor.
how can I fix this mess
September 7, 2016 at 9:49 am #1164577
LikeLeeParticipantThis reply has been marked as private.September 7, 2016 at 10:12 am #1164606
RahulModeratorHey There,
Thanks for writing in!
What you’ve done is re-declare the same function name in the child theme as one in the parent theme, and that doesn’t work. All functions have to have individual names. What you’ll need to do is either remove your new function, or change the name of it so that it isn’t the same as the existing one.
Let us know how it goes!
September 7, 2016 at 10:41 am #1164653
LikeLeeParticipantYeah Rahul I understand the problem, though I have no idea how to access the code to change that.
Could you help me put with that please .
ThanksSeptember 7, 2016 at 11:14 am #1164702
LikeLeeParticipantnever mind I managed to do it myself
September 7, 2016 at 12:16 pm #1164793
JoaoModeratorGlad to hear you managed to fix it.
Please contact us if you need help with anything else.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1164551 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
