• blackmatarsak

    (@blackmatarsak)


    how can i solve this problem
    When I enter my site, I am faced with this error
    (Parse error: syntax error, unexpected ‘<‘ in /home/u579402441/public_html/wp-content/themes/twentyeleven/functions.php on line 610)
    how can i solve this problem
    After adding this code to functions.php, I was faced with this problem.
    code”

    <?php if ( current_user_can('contributor') && !current_user_can('upload_files') )
    add_action('admin_init', 'allow_upload_user');
    
    function allow_upload_user() {
    $var1 = get_role('contributor');
    $var1->add_cap('upload_files');
    } ?>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    my site adress:https://serajpower.us.ms/
    please help me

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Parse error’ is closed to new replies.