Widgets does not load on some blog posts

Home Forums Jevelin Theme Widgets does not load on some blog posts

Home Forums Jevelin Theme Widgets does not load on some blog posts

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    RESOLVED Posts
  • damosheperd
    Participant

    Hello

    As you can see, it loads just fine

    here https://datashepherd.fr/

    and here https://datashepherd.fr/?p=91

     

    but not there https://datashepherd.fr/?p=93

    or there https://datashepherd.fr/?p=365

     

    How can I have both footer and sidebar widgets on all blog posts ?

     

    Thanks a lot

    Shufflehound
    Moderator

    Hi there,

     

    Not sure what exactly happened, but to test this issue we needed to installΒ  Query Monitor plugin (we have tested it many times before), and after we tried to do that your website suddenly stopped working with 500 error.

    If needed you can share your hosting details and we can try to fix it. Sorry for that.

     

    Best regards,

    Shufflehound team

    damosheperd
    Participant

    Hi, I renamed /vhosts/datashepherd.fr/htdocs/wp-content/plugins/query-monitor/ to deactivate the plugin that indeed was causing a problem (see below).

     

    The issue is stil unresolved with the widget not loading.

    I would not recommend installing this plugin again πŸ˜‰

    Do you have another option to help solve this issue

     

    Thanks

     

    Shufflehound
    Moderator

    Oh, that is great that you managed to fix it. πŸ™‚

    About the original issue – it seems that at the bottom of the page there might be a PHP error. Maybe you can check the logs and copy the PHP error that this page is generating, so we can see what is happening there.

    damosheperd
    Participant

    Hello

    I am not sure this is what you requested.:

     

    from www-error.log

     

     

    [08-Oct-2022 10:03:24 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /srv/data/web/vhosts/datashepherd.fr/htdocs/wp-content/themes/jevelin/single.php:215
    Stack trace:
    #0 /srv/data/web/vhosts/datashepherd.fr/htdocs/wp-includes/template-loader.php(106): include()
    #1 /srv/data/web/vhosts/datashepherd.fr/htdocs/wp-blog-header.php(19): require_once(‘…’)
    #2 /srv/data/web/vhosts/datashepherd.fr/htdocs/index.php(17): require(‘…’)
    #3 {main}
    thrown in /srv/data/web/vhosts/datashepherd.fr/htdocs/wp-content/themes/jevelin/single.php on line 215
    [08-Oct-2022 11:21:22 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /srv/data/web/vhosts/datashepherd.fr/htdocs/wp-content/themes/jevelin/single.php:215
    Stack trace:
    #0 /srv/data/web/vhosts/datashepherd.fr/htdocs/wp-includes/template-loader.php(106): include()
    #1 /srv/data/web/vhosts/datashepherd.fr/htdocs/wp-blog-header.php(19): require_once(‘…’)
    #2 /srv/data/web/vhosts/datashepherd.fr/htdocs/index.php(17): require(‘…’)
    #3 {main}
    thrown in /srv/data/web/vhosts/datashepherd.fr/htdocs/wp-content/themes/jevelin/single.php on line 215
    [08-Oct-2022 11:21:31 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /srv/data/web/vhosts/datashepherd.fr/htdocs/wp-content/themes/jevelin/single.php:215
    Stack trace:
    #0 /srv/data/web/vhosts/datashepherd.fr/htdocs/wp-includes/template-loader.php(106): include()
    #1 /srv/data/web/vhosts/datashepherd.fr/htdocs/wp-blog-header.php(19): require_once(‘…’)
    #2 /srv/data/web/vhosts/datashepherd.fr/htdocs/index.php(17): require(‘…’)
    #3 {main}
    thrown in /srv/data/web/vhosts/datashepherd.fr/htdocs/wp-content/themes/jevelin/single.php on line 215
    [08-Oct-2022 11:21:36 UTC] PHP Warning: Attempt to read property “ID” on null in /srv/data/web/vhosts/datashepherd.fr/htdocs/wp-content/themes/jevelin/inc/helpers.php on line 2510

    Shufflehound
    Moderator

    Hi there,

     

    Thank you for the log! The issue should be fixed in the latest theme beta version (already installed on your website).

    Can you please take a look? πŸ™‚

     

    Best regards,

    Shufflehound team

    • This reply was modified 1 year, 6 months ago by Shufflehound.

    damosheperd
    Participant

    So far it seems like the update has indeed fixed it ! THANKS

    Shufflehound
    Moderator

    We are glad that it worked! πŸ™‚

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