Fatal Error: Website crashes after Upgrade

This topic contains 6 replies, has 4 voices, and was last updated by  Alex Rollin 4 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #517897

    Sinethemba Gayiza
    Free User
    Post count: 2

    I tried to update or upgrade GeoDirectory to the latest version by I get an error message “This page Isn’t Working”

    My backend error logs provide this error:

    “[20-Nov-2019 07:53:44 UTC] PHP Fatal error: Can’t use function return value in write context in /home/findafarmerco/public_html/wp-content/plugins/geodirectory/includes/post-functions.php on line 308”

    My line 308 is:

    
    
    if ( ! function_exists( 'geodir_has_post_meta' ) ) {
    	function geodir_has_post_meta( $meta_key, $post_id = null ) {
    		global $post;
    
    		//Use the current post's id if none is provided
    		if( is_null( $post_id ) ) {
    			$post_id = $post->ID;
    		}
    
    <em>(line 308)</em> return !empty( geodir_get_post_meta( $post_id, $meta_key, true ) );

    Domain name is: http://www.findafarmer.co.za

    Other installed plugins are:

  • Elementor
  • WM SmushIt
  • Hummingbird
  • Polylang
  • Header Footer Elementor
  • Premium Addons for elementor
  • Stick header effects for elementor
  • The crash however occured after attempting to upgrade to latest version of GeoDirectory

    #517900

    Kor
    Moderator
    Post count: 16516

    Hi Sinethemba Gayiza,

    Thanks for your post. Kindly share both WP and FTP access here in private reply and we’ll troubleshoot this further for you.

    #517908

    Sinethemba Gayiza
    Free User
    Post count: 2
    This reply has been marked as private.
    #517963

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #518030

    Sinethemba Gayiza
    Free User
    Post count: 2
    This reply has been marked as private.
    #518118

    Naveen Giri
    Moderator
    Post count: 1559

    Hi @Sinethemba,

    login details are not working.

    it seems php version issue.

    whats your current php version?
    can you paste system report from geodirectory -> status -> system status -> get system report button click.

    Thanks

    #522328

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    I will resolve this ticket, but if there is another issue, please make a new one so we can help you.

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket