PHP error on Clan page

  • Resolved
    Posted in: BlackFyre  
  • Member
    jasonj_slicedbreadgames
    November 3, 2018 at 5:21 pm #115695

    I have an error on the Clan page. I’ve not modified the functions.php file in any way. I get this:

    “Warning: Illegal string offset ‘pending’ in /hermes/bosnaweb23a/b2209/ipg.shopwithloraliecom/Blackfyre/wp-content/themes/blackfyre/functions.php on line 2047 Warning: Illegal string offset ‘pending’ in /hermes/bosnaweb23a/b2209/ipg.shopwithloraliecom/Blackfyre/wp-content/themes/blackfyre/functions.php on line 2048”

    These are the lines associated with it:

    if(!isset($post_meta_arr[‘users’][‘pending’])) $post_meta_arr[‘users’][‘pending’] = array();
    if ( is_array( $post_meta_arr[‘users’][‘pending’] ) ) {

    Attachments:
    You must be logged in to view attached files.

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.