• Resolved khuemann

    (@khuemann)


    Hello sometimes when I use this plugin with the custom post type multi selector I get this error message as the chooses:

    ( ! ) Warning: in_array() expects parameter 2 to be array, null given in C:\wamp\www\wordpress\wp-content\plugins\buddypress-xprofile-custom-fields-type\bp-xprofile-custom-fields-type.php on line 354
    Call Stack
    #TimeMemoryFunctionLocation
    10.0014368256{main}( )..\index.php:0
    20.0024371960require( ‘C:\wamp\www\wordpress\wp-blog-header.php’ )..\index.php:17
    32.031948868720require_once( ‘C:\wamp\www\wordpress\wp-includes\template-loader.php’ )..\wp-blog-header.php:16
    42.031948868784do_action( )..\template-loader.php:7
    52.032248870184call_user_func_array
    ( )..\plugin.php:406
    62.032248870200bp_template_redirect( )..\plugin.php:406
    72.032348870264do_action( )..\bp-core-actions.php:264
    82.035748872952call_user_func_array
    ( )..\plugin.php:406
    92.035748872968bp_screens( )..\plugin.php:406
    102.035748873024do_action( )..\bp-core-actions.php:189
    112.036148873968call_user_func_array
    ( )..\plugin.php:406
    122.036148873984xprofile_screen_edit_profile( )..\plugin.php:406
    132.037548871832bp_core_load_template( )..\bp-xprofile-screens.php:136
    142.040448882216load_template( )..\bp-core-catchuri.php:394
    152.042148909984require_once( ‘C:\wamp\www\wordpress\wp-content\themes\pagelines-iblogpro5\members\single\home.php’ )..\template.php:407
    162.447449197880locate_template( )..\home.php:55
    172.448149198040load_template( )..\template.php:383
    182.449849214552require_once( ‘C:\wamp\www\wordpress\wp-content\themes\pagelines-iblogpro5\members\single\profile.php’ )..\template.php:407
    192.450349214928locate_template( )..\profile.php:31
    202.451149215096load_template( )..\template.php:383
    212.453849313424require_once( ‘C:\wamp\www\wordpress\wp-content\themes\pagelines-iblogpro5\members\single\profile\edit.php’ )..\template.php:407
    222.508649306928do_action( )..\edit.php:136
    232.508749307624call_user_func_array
    ( )..\plugin.php:406
    242.508749307640bxcft_edit_render_new_xprofile_field( )..\plugin.php:406
    252.544849448544in_array
    ( )..\bp-xprofile-custom-fields-type.php:354

    >Anderson Camps

    Im not sure if this is an error on the plugin’s side or my side. I am running it on a localhost server and that may be the issue, and some of the errors are from other plugins I’m running, however, all the other plugins are working fine, and the first error that appears is from xprofile custom fields plugin.

    Let me know if there is a way to fix this. Thanks

    https://www.ads-software.com/extend/plugins/buddypress-xprofile-custom-fields-type/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Custom Post Type Error’ is closed to new replies.