• After updating WordPress version my site https://www.coderdojobrianza.it can no longer load the homepage.
    I disabled all the plugins but with no effetcs.
    If I switch theme (twenty 16) all works well. Please help!

    Debug log says

    [28-Dec-2015 15:21:11 UTC] PHP Warning: getimagesize(https://www.coderdojobrianza.it/wp-content/uploads/2015/09/CDB-header.png): failed to open stream: Connection timed out in /home/mhd-01/www.coderdojobrianza.it/htdocs/wp-content/themes/point/header.php on line 35
    [28-Dec-2015 15:21:19 UTC] PHP Notice: WP_Widget is deprecated since version 4.3.0! Use
    <pre>__construct()</pre>
    . in /home/mhd-01/www.coderdojobrianza.it/htdocs/wp-includes/functions.php on line 3619

    Code breaks before <body> opening.

Viewing 1 replies (of 1 total)
  • Thread Starter Ziqurrat

    (@ziqurrat)

    Hi everybody, Sandro Bonazzola has found a solution to this problem.

    My hosting service (tophost) needs more than 60 seconds to reply to getimagesize calls causing the browser to close the connection with timeout message. I removed the getimagesize calls and the site is now up.

    There are getimagesize calls in header and footer: the function has 4 parameters but only one is used and it’s empty. Why is getimagesize used? If I remove it will there be problem?
    What about the new responsive image native support (scrset and sizes attribute on images)?

    About the second error message (just a warning, not fatal error): from 4.3.0 WordPress the use of WP_Widget->WP_Widget() is deprecated. There are a lot of WP_Widget inside the functions directory. Even with a child theme I can’t override them.
    Sandro has got a patch ready, how can he submit it to the developers team?

    Regards
    Federica

Viewing 1 replies (of 1 total)
  • The topic ‘getimagesize breaks site’ is closed to new replies.