Error Message: In_Array ….
-
Good Morning!
Thanks for your fast Replays and fix!
I have now installed the fix and everything looks great!If a normal Visitoropen my Blog, the Error Message is gone! Great!
And when i logged in as admin and open a Articel, there is NO MORE Message that i have to install YARPP? But i have NOT INTALLED IT?
Thanks again, and have a nice Day!
Hello!
Sind the update the update i’ve got a kinda similar problem.Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/75/site6890938/web/wp-includes/post-template.php on line 284
You can See this Error notice in every site except the Main Page.
Admin
Warning: count(): Parameter must be an array or an object that implements Countable in /home/.sites/75/site6890938/web/wp-includes/post-template.php on line 284
Please provide the URL to your site so that we can take a look.
But, the mystic is, the Notice Message with YARPP thatt i could see before this Update, will not any more be displayed…. But i dont have installed this Plugin?
Yes, we have changed this so that the notice will only appear if you add the Related Posts module using the page builder available in Graphene Plus. For Graphene, the message will not be displayed, but the related posts plugin integration will still work if you install and activate YARPP.
http://www.speichenflitzer.at (every page except the start page shows the error, like http://www.speichenflitzer.at/?page_id=17)
But i just startet to build the website, i can easily build it new.. but that’s a reason more why there is an error since the update, because the website ist kind of empty :))
Thanks you very mich for the reply!
Greets PatrickAdmin
@Patpatolino,
Looks like it’s an issue with PHP 7.2 and Jetpack. See the discussion here:
https://wordpress.org/support/topic/jetpack-causing-error-post-template-php-line-284/Hello,
after the last graphene update today i get this failure message on the bottom of my site http://www.laufschuhkauf.de:
Warning: in_array() expects parameter 2 to be array, null given in /kunden/221190_67281/webseiten/wordpress/wp-content/themes/graphene/inc/plugins.php on line 92
If i deactivate YARPP then the failure is gone. But i find YARPP great and want to use it. How could i fixed it?
Greets LaufschuhWiesel
Admin
Thanks for the report. If you’re comfortable with editing the theme’s files, open up the file
graphene/inc/plugins.php
and replace the following code on line 92:$display_settings = $display_settings['auto_display_post_types'];
with this:
$display_settings = $yarpp_options['auto_display_post_types'];
That works. Thanks a lot for the fast and perfect support.
Viewing 10 posts - 11 through 20 (of 20 total)
- 1
- 2
- You must be logged in to reply to this topic.