Tagged: x
-
AuthorPosts
-
January 26, 2017 at 6:48 pm #1347105
ActorMikeParticipantThis is showing up in the PHP 7.1 logs on the server. Maybe a bug?
[27-Jan-2017 00:41:49 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in D:\mysite.com_2014\wp-content\plugins\x-disqus-comments\functions\output.php on line 32
January 26, 2017 at 10:24 pm #1347262
Prasant RaiModeratorHello Mike,
Thanks for writing in!
If your WP_DEBUG is already set to false then maybe your PHP error_reporting is enabled. You can place error_reporting(0); instead of define(‘WP_DEBUG’, false); on your config file.
Thanks.
January 26, 2017 at 10:32 pm #1347267
ActorMikeParticipantWe own the dedicated server, so these PHP error messages are coming from the servers master php 7.1 log file. Obviously we don’t want to disable error reporting, we want you to fix the error that is being reported.
IS there something I’m misunderstanding?
January 27, 2017 at 12:13 am #1347334
Rue NelModeratorHello There,
Thanks for updating in! This is just a PHP warning generated by WordPress. Can you please disable the WP_DEBUG mode? You can do this by opening
wp-config.phpand adding
define( 'WP_DEBUG' , false );just above/* That's all, stop editing! Happy blogging. */For example:define('WP_DEBUG', false); /* That's all, stop editing! Happy blogging. */When you revisit the page, you should no longer see the PHP warning.
Thank you very much.
January 27, 2017 at 12:00 pm #1348004
ActorMikeParticipantThis reply has been marked as private.January 27, 2017 at 8:09 pm #1348502
FriechModeratorHi There,
Please navigate to Addons > Disqus Comments and make sure you did not leave any fields empty. And please confirm if you have the latest version of X-Disqus Comments plugin (current latest version is 1.1.0).
If this does not work, please provide us login credentials in private reply so we can take a closer look.
Thanks.
January 29, 2017 at 12:17 pm #1349764
ActorMikeParticipantThat helped! I went into that page and unchecked the pages we don’t need the Disqus to appear on like a testimonials add-on and the error went away.
January 29, 2017 at 1:40 pm #1349814
NicoModeratorHappy to hear that.
Feel free to ask us again.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1347105 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
