D
D
Dmitry Larin2016-01-30 14:40:45
PHP
Dmitry Larin, 2016-01-30 14:40:45

I can’t access the site due to the Parse error: syntax error, unexpected error, what should I do and how?

I just started to deal with vodpress so don't peck too hard!
such a question .. climbed into the function.php file of the theme, I wanted to add code for "breadcrumb" added, it did not work and gave the following error
Parse error: syntax error, unexpected 'adjust_single_breadcrumb' (T_STRING) in /home/u862812138/public_html/wp -content/themes/virtue/functions.php on line 1
now I can’t log into the site and into the admin panel and I don’t know what to do with it, tell me! otherwise I’ve searched the entire Internet already ..

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander N++, 2016-01-30
@ldgepard

open the file
/home/u862812138/public_html/wp-content/themes/virtue/functions.php
in the search find adjust_single_breadcrumb and put $adjust_single_breadcrumb for sure
this is not a function name and not a constant but a variable

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question