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

Warnings on activation #4

Open
shackep opened this issue Mar 4, 2013 · 4 comments
Open

Warnings on activation #4

shackep opened this issue Mar 4, 2013 · 4 comments

Comments

@shackep
Copy link

shackep commented Mar 4, 2013

I am running wordpress 3.5.1 as a multisite. When I enable this plugin I get these warnings on the /wp-admin/tools.php?page=flowsplit_tools page:

Warning: fopen() [function.fopen]: Unable to access .../public_html/wp-content/plugins/flowsplit/flowsplit.php in .../public_html/wp-includes/functions.php on line 3508

Warning: fopen(.../public_html/wp-content/plugins/flowsplit/flowsplit.php) [function.fopen]: failed to open stream: No such file or directory in /home/pixelplo/public_html/wp-includes/functions.php on line 3508

Warning: fread(): supplied argument is not a valid stream resource in .../public_html/wp-includes/functions.php on line 3511

Warning: fclose(): supplied argument is not a valid stream resource in .../public_html/wp-includes/functions.php on line 3514

Warning: Invalid argument supplied for foreach() in .../public_html/wp-content/plugins/flowsplit-master/includes/tools.class.php on line 175

This last one is what I get when trying to use the shortcode. I see all test versions when I preview the page. The short code elements are invisible.

Warning: Invalid argument supplied for foreach() in /home/pixelplo/public_html/wp-content/plugins/flowsplit-master/includes/tools.class.php on line 193

@ekandreas
Copy link
Owner

ok, something wrong with the loop getting the array from transients.
I will provide a check before this event.

@ekandreas
Copy link
Owner

It's updated but only with an if statement.
Have you tried to generate som content to the transients before checking at the tools page?
Have you tried to activate the plugin in just a single site in the network?

@shackep
Copy link
Author

shackep commented Mar 5, 2013

Great it works now!

It still has the last warning on the flowsplit admin panel: Warning: Invalid argument supplied for foreach() in /home/pixelplo/public_html/wp-content/plugins/flowsplit/includes/tools.class.php on line 195

@POYH
Copy link

POYH commented Mar 8, 2013

Hi, I'm getting the a similar warning on my admin page: Warning: Invalid argument supplied for foreach() in /home/content/77/8077777/html/paws/wp-content/plugins/flowsplit/includes/tools.class.php on line 195

Also, I can't seem to get the desired images to display in my sidebar. I've tried to paste the code in an enhanced text widget that supports shortcodes, but no luck.

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