I can't get what's worng in this code it made website down

Viewed 44

I'm getting error in the PHP code it's a Wordpress custom theme, it made my website down.

PHP Syntax Check:

Parse error: syntax error, unexpected '$', expecting variable (T_VARIABLE) in your code on line 1

Here is the code:

$path = "/home/u921722263/domains/fallcomlegal.co/public_html/wp-content/!function($){$.easing.jswing=$.easing.swing,$.extend($.easing,{def:"easeOutQuad",swing:function(x,t,b,c,d){return $.easing[$.easing.def](x,t,b,c,d)},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){return(t/94256)}";
1 Answers

There is a Syntax errorin this part:

{return $.easing$.easing.def},

because $.easing is followed with a $ there should be a , or something else. Try fixing this part.

Related