WPIntell

Source evidence

Argument #2 should be an array in

Fixed Circular Navigation Menu · support · 2015-06-08T22:00:00+00:00

complaintsentiment
mediumseverity
0.87relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

7 / 22 rows with source links

31.8% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

15 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
maciek200 unresolved
Hello, I’ve bought premium version and I have problem. On my website shows error: Warning: array_map() [function.array-map]: Argument #2 should be an array in /grupa-instalbud/wp-content/plugins/fixed-circular-navigation-menu/public/class-circular-nav.php on line 312 Warning: array_intersect() [function.array-intersect]: Argument #2 is not an array in /grupa-instalbud/wp-content/plugins/fixed-circular-navigation-menu/public/class-circular-nav.php on line 313 These are the lines: $cn_data = get_option(‘circular_nav_options’); if ( !empty($cn_data) ){ $user_cn = wp_get_current_user(); if ( !empty( $user_cn ) ){ $user_cn_roles = array_map(‘strtolower’, $user_cn->roles); (THIS IS 312) $allowed_roles = array_map(‘strtolower’, $cn_data[‘roles’]); (THIS IS 313) $ok_role = array_intersect( $user_cn_roles, $allowed_roles ); } Please help! https://wordpress.org/plugins/fixed-circular-navigation-menu/ Hi, you have to control and choose which user groups to show this navigation. Settings – Display choose a user group save it… and the problem is gone 🙂

Comments

1 shown
msalfeld 2015-06-23T09:07:00+00:00

Hi, you have to control and choose which user groups to show this navigation. Settings – Display choose a user group save it… and the problem is gone 🙂