Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not working with my theme. #2

Open
mxmkmarquette opened this issue May 22, 2018 · 6 comments
Open

not working with my theme. #2

mxmkmarquette opened this issue May 22, 2018 · 6 comments

Comments

@mxmkmarquette
Copy link

the minute i put the drop in error all over the place...

`
Warning: Invalid argument supplied for foreach() in /srv/users/serverpilot/apps/madmax/public/wp-content/plugins/woocommerce/includes/wc-webhook-functions.php on line 106

Warning: array_merge(): Argument #2 is not an array in /srv/users/serverpilot/apps/madmax/public/wp-content/themes/bimber/includes/theme-setup.php on line 174

Warning: array_filter() expects parameter 1 to be array, null given in /srv/users/serverpilot/apps/madmax/public/wp-content/plugins/woocommerce/includes/wc-attribute-functions.php on line 62

Fatal error: Uncaught Error: Call to a member function have_posts() on null in /srv/users/serverpilot/apps/madmax/public/wp-content/themes/bimber/includes/front/post.php:774 Stack trace: #0 /srv/users/serverpilot/apps/madmax/public/wp-content/themes/bimber/includes/front/post.php(551): bimber_get_global_featured_posts_ids() #1 /srv/users/serverpilot/apps/madmax/public/wp-content/themes/bimber/includes/front/home.php(109): bimber_get_featured_posts_ids(Array) #2 /srv/users/serverpilot/apps/madmax/public/wp-content/themes/bimber/includes/front/home.php(126): bimber_get_home_featured_posts_ids() #3 /srv/users/serverpilot/apps/madmax/public/wp-includes/class-wp-hook.php(286): bimber_home_exclude_featured(Object(WP_Query)) #4 /srv/users/serverpilot/apps/madmax/public/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #5 /srv/users/serverpilot/apps/madmax/public/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #6 /srv/users/serverpilot/apps/madmax/public/wp-includes/class-wp-query.php(1634): do_action in /srv/users/serverpilot/apps/madmax/public/wp-content/themes/bimber/includes/front/post.php on line 774
`
would be real nice to get it working cause i really love this idea.

@mxmkmarquette
Copy link
Author

i'm on nginx, with zend opcache, php7.2

@elcobvg
Copy link
Owner

elcobvg commented May 22, 2018

Yeah I'm aware of this problem. Unfortunately at the moment I have no time to look into it, I'm sorry...

@mxmkmarquette
Copy link
Author

no problemo my friend, just reporting cause i was finding this solution more pratical than some other around.

@mxmkmarquette
Copy link
Author

but thank you for you drop in gonna retake a look time to time :)

@mxmkmarquette
Copy link
Author

will you look at it now? can give you access?

@bueltge
Copy link

bueltge commented Mar 25, 2020

I see no error from the Dropin, from the opcache solution. The warning messages are always topics from WooCommerce and the theme. So you should deactivate the warning message in the production stage and fix on the Theme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants