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

WP Multisite issue #70

Open
aedelgod opened this issue May 22, 2017 · 2 comments
Open

WP Multisite issue #70

aedelgod opened this issue May 22, 2017 · 2 comments
Assignees
Labels

Comments

@aedelgod
Copy link

aedelgod commented May 22, 2017

We just started using this on the WordPress Multisite platform and have used it for other sites, not on the WPMU. On this platform though we noticed an issue, instead of rendering the template shortcode correctly it just pulls it as plain text on the rendered page (see picture).
members-problem
Example rendered code
staffmember-code-rednered

In addition to this we are receiving the error:
Invalid argument supplied for foreach() in /wp-content/plugins/simple-staff-list/admin/partials/simple-staff-list-template-display.php on line 26

sml-code

Any help is appreciated, thank you!

@brettshumaker brettshumaker self-assigned this May 22, 2017
@brettshumaker
Copy link
Owner

@aedelgod I know you posted this a long time ago, but I think this may be due to the plugin being network activated on your network as the default tag (and other) options get saved to the database using register_activation_hook which does not fire if a plugin is network activated.

A fix, and again I realize that you posted this several months ago, is to network deactivate the plugin, and activate it on each site in your network that needs it.

I'll work on implementing a check for multisite network activation that will install the plugin options properly.

@aedelgod
Copy link
Author

@brettshumaker just read this, thanks for that. Over time I have gotten a little bit better with developing things on WordPress. When I wrote this originally I was a little rusty to the WordPress world (formally Joomla and Magento). We still use your plugin on sites that are not on one of out multisite networks, and it continues to work great btw.

On multisite we have been using Teams which has its own silly little bug that the developers haven't gotten to (DB entries no longer get fetched and have to be re-created if site URL changes like making live or adding TLS).

We're working on a new project that is multisite and will give your plugin a try on there, I may be able to write some functions to make use of your plugin in a stripped down multisite network and a custom backend.

Again, thank you and keep up the great work Brett. Looking forward to some multisite support.

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

No branches or pull requests

2 participants