• Hi, i have a multisite site network and i use Client Dash for setting custom menu for users, but when i have to clone a site, i found a lot of error.

    Well, i tried to delete the new cloned one, disable client dash and clone another one without client dash activated. The new site it’s ok but when i activate client dash i found this error in homepage:

    Fatal error: Cannot use string offset as an array in /web/htdocs/www.sanmarinoannunci.com/home/sma2015/wp-content/plugins/client-dash/client-dash.php on line 800

    how i can fix? it’s very important for me, because the plugin it’s amazing but this problem is very annoying.

    thank you in advance
    Best regards
    Rob

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter tenadv

    (@tenadv)

    Hi Joel,
    i have tried to clone another sites but it appear a warning error like:

    “Warning: array_intersect_key(): Argument #2 is not an array in /web/htdocs/www.mywebsite.com/home/sma2015/wp-content/plugins/client-dash/core/tabs/settings/widgets.php on line 388”

    anyway, this warning did not show anymore after cloning. what do you think?

    • This reply was modified 7 years, 10 months ago by tenadv.
    Plugin Contributor joelworsham

    (@joelworsham)

    For the first error of “invalid supplied foreach”, it seems a lot of data is corrupt. The short-answer is that the data I use for that “foreach” should ALWAYS work, in any WordPress install. If it doesn’t, something is wrong.

    I would advise against using this cloning tool, or contacting their support to let them know data is becoming corrupt. In this case, specifically the “wp_user_roles” option.

    Similar issue with the “Warning: array_intersect_key()”. The data expected is not proper.

    Plugin Contributor joelworsham

    (@joelworsham)

    Sorry for the delay. Let’s continue getting this fixed for you.

    It seems there is something misconfigured with the roles on your website. Both of those errors are coming from the when the function get_editable_roles() is called. This means that that function is not returning roles properly, which means there probably aren’t correctly configured roles on your website.

    Can you please go to the site that’s showing these errors, go to Users -> Add New, and then see what shows in the select dropdown for “Role”?

    Plugin Contributor joelworsham

    (@joelworsham)

    Hey there,

    Apologies for the delay. I would contact the plugin author of Classifieds WP.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Problem in multiple site network’ is closed to new replies.