• Resolved nghtmre

    (@nghtmre)


    Hello,
    I am trying to set up conditionalities on access to the different pages of my site.
    However at the time of selecting the page (s), I have the error below.

    Warning: array_reduce() expects parameter 1 to be array, null given in C:\Users\gerar\Local Sites\reconversion\app\public\wp-content\plugins\wp-user-avatar\src\ContentProtection\ContentConditions.php on line 423
    Call Stack
    # Time Memory Function Location
    1 0.0006 368624 {main}( ) …\admin.php:0
    2 1.3236 32011944 do_action( ) …\admin.php:259
    3 1.3236 32012320 WP_Hook->do_action( ) …\plugin.php:484
    4 1.3236 32012320 WP_Hook->apply_filters( ) …\class-wp-hook.php:316
    5 1.3236 32013448 ProfilePress\Core\ContentProtection\SettingsPage->settings_page_function( ) …\class-wp-hook.php:292
    6 1.3244 32017472 ProfilePress\Custom_Settings_Page_Api->build( ) …\SettingsPage.php:149
    7 1.3245 32019184 apply_filters( ) …\custom-settings-api.php:1140
    8 1.3245 32019592 WP_Hook->apply_filters( ) …\plugin.php:212
    9 1.3245 32021096 ProfilePress\Core\ContentProtection\SettingsPage->admin_page_callback( ) …\class-wp-hook.php:292
    10 1.3269 32027784 require_once( ‘C:\Users\gerar\Local Sites\reconversion\app\public\wp-content\plugins\wp-user-avatar\src\ContentProtection\views\include.view.php’ ) …\SettingsPage.php:174
    11 1.3399 32116744 do_meta_boxes( ) …\include.view.php:78
    12 1.3402 32116744 ProfilePress\Core\ContentProtection\SettingsPage->{closure:C:\Users\gerar\Local Sites\reconversion\app\public\wp-content\plugins\wp-user-avatar\src\ContentProtection\views\include.view.php:17-19}( ) …\template.php:1389
    13 1.3408 32117224 require( ‘C:\Users\gerar\Local Sites\reconversion\app\public\wp-content\plugins\wp-user-avatar\src\ContentProtection\views\view.contentbox.php’ ) …\include.view.php:18
    14 1.3408 32117224 ProfilePress\Core\ContentProtection\ContentConditions->rules_group_row( ) …\view.contentbox.php:13
    15 1.3408 32117224 ProfilePress\Core\ContentProtection\ContentConditions->rule_row( ) …\ContentConditions.php:164
    16 1.3410 32140296 ProfilePress\Core\ContentProtection\ContentConditions->rule_value_field( ) …\ContentConditions.php:130
    17 1.3410 32157176 ProfilePress\Core\ContentProtection\ContentConditions->postselect_field( ) …\ContentConditions.php:462
    18 1.3410 32157512 array_reduce ( ) …\ContentConditions.php:423`

    Can anyone help me?
    I thank you in advance.

    Cordially.`

    I specify, I am developing

    • This topic was modified 3 months, 1 week ago by nghtmre.
    • This topic was modified 3 months, 1 week ago by nghtmre.
    • This topic was modified 3 months, 1 week ago by nghtmre.
    • This topic was modified 3 months, 1 week ago by nghtmre.
    • This topic was modified 3 months, 1 week ago by nghtmre.
    • This topic was modified 3 months, 1 week ago by nghtmre.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.