• Resolved ayam maiself

    (@electropatata)


    Hello
    After last new update my website crashed, I have need to enter wordpress recovery mode and change the theme to another different one to have the website online again.
    I don’t know what can be the problem.
    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello @electropatata,

    The theme file may not have been downloaded completely (actually, it seems the extracting from the upgrade folder on WordPress is not complete)

    Please try this solution and let us know:
    1- Go to WP Dashboard > Appearance > Themes
    2- Delete OceanWP theme.
    3- Click on the “Add New” and find OceanWP theme from popular items.
    4- Click on the install and activate the theme.

    Now recheck your issue.

    After the above steps, if you get an error again, please share the error message here.

    Best Regards

    Thread Starter ayam maiself

    (@electropatata)

    The error still happens:
    It said (translated from spanish): “There has been a critical error on this website”
    And wordpress send me an email to enter in the recovery mode…
    It don’t give me any detailed info about the error, or I don’t know how to find it…

    • This reply was modified 2 years, 11 months ago by ayam maiself.
    • This reply was modified 2 years, 11 months ago by ayam maiself.

    Hello @electropatata,

    Which PHP version you’re currently using?

    ?To solve your issue, please make sure the plugins and the theme are the latest versions. We are recommended to use the latest version of PHP or using PHP v7.2.x.

    Please check this screenshot: https://i.postimg.cc/vZ7Mq3dS/image.png.

    Host configurations:
    To access these fields, please edit the “php.ini” file, which is located in the host (if you can’t find it, then contact your host service provider).

    upload_max_filesize = 32M
    post_max_size = 48M
    memory_limit = 512M
    max_execution_time = 800
    max_input_vars = 10000
    max_input_time = 800

    WordPress Configurations:
    https://codex.www.ads-software.com/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
    Reference: https://www.ads-software.com/about/requirements/

    Best Regards

    Thread Starter ayam maiself

    (@electropatata)

    I’ve activate the debuggin option and this send me this error:

    Parse error: syntax error, unexpected ‘)’ in /MY_DOMAIN_ROUTE/wp-content/themes/oceanwp/inc/template-helpers.php on line 349

    and this other one:

    PHP Fatal error: Uncaught Error: Call to undefined function oceanwp_error_page_template_content() in /MY_DOMAIN_ROUTE/wp-content/themes/oceanwp/404.php:15

    Thanks

    • This reply was modified 2 years, 11 months ago by ayam maiself.
    Thread Starter ayam maiself

    (@electropatata)

    If I go to the file wp-content/themes/oceanwp/inc/template-helpers.php
    and I change the code removing the last comma in the 348 line the theme works:
    Previous code:

    $avatar_url .= get_avatar(
    	$author_id,
    	apply_filters( 'ocean_author_bio_avatar_size', $args['size'] ),
    	'',
    	esc_attr( $args['alt'] ),
    );

    Changed code:

    $avatar_url .= get_avatar(
    	$author_id,
    	apply_filters( 'ocean_author_bio_avatar_size', $args['size'] ),
    	'',
    	esc_attr( $args['alt'] )
    );

    I’ve only remove the last comma in the 348 line, and the theme works.
    I don’t know if the get_avatar function needs another missed argument or the error is only the comma.

    Hello @electropatata,

    Would you please use PHP version 7.2 at least and recheck your issue?
    I fully examined the issue you have raised on this topic and could not see it on my end with PHP v7.2x and greater.

    Please keep us posted.

    Best Regards

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘After last new update my website crashed’ is closed to new replies.