Home › Forums › Jevelin Theme › Widgets does not load on some blog posts
Home › Forums › Jevelin Theme › Widgets does not load on some blog posts
Hello
As you can see, it loads just fine
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
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
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
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.
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
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
So far it seems like the update has indeed fixed it ! THANKS
We are glad that it worked! ๐