A warning appears when I tried to delete an expired listing from my dashboard.

Discussion in 'GeoCraft WordPress Theme' started by aliounn, Jan 31, 2013.

  1. aliounn

    aliounn Member

    Joined:
    Dec 7, 2012
    Messages:
    136
    Likes Received:
    6
    Hi support ,
    I have just tried to delete an expired listing from my dashboard by clicking on the delete link. After that, this warning appears at the top of the page. when i sign out, the warning is still there.

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /homez.635/adopteuns/lyon-beauty-shop/wp-includes/post.php on line 2996


    How can i resolve this issue ?
    Geocraft owners ,can you try this manipulation to see how it goes with your theme ?

    thank you.
    I file attached.
     

    Attached Files:

    • img.png
      img.png
      File size:
      53.9 KB
      Views:
      5
  2. aliounn

    aliounn Member

    Joined:
    Dec 7, 2012
    Messages:
    136
    Likes Received:
    6
    Once again, I tried to remove a second, and a third listing, which returns three warning !!!
    The removal of published and pandding listings does not return a warning. It is only for expired listings.
     

    Attached Files:

  3. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    You are using an older version of the theme.
    Please update your theme or
    Please provide the following information listed below.
    Send this information on our email at [email protected]

    Thread Link:
    FTP detail:
    Your Website URL:
    WordPress Username:
    WordPress Password:

    We will check and resolve your issue.
     
  4. ipotent

    ipotent Guest

    Joined:
    Jan 27, 2013
    Messages:
    14
    Likes Received:
    0
    I was having same issue...only not getting warning...just automatically redirected to home page. Here is the solution I used:

    You just need to edit lines 188 and 189 of dashboard_functons.php (found in /library/controls/dashboard) to the following:

    Line 188

    <span class="modify"><a href="<?php echo home_url("/dasboard/?page_id=$page_id&action=edit&pid=" . $listing->ID); ?>"><?php echo EDIT; ?></a>&nbsp;|&nbsp;

    Line 189

    <a href="<?php echo home_url("/dasboard/?page_id=$page_id&action=delete&pid=" . $listing->ID); ?>"><?php echo DELETE; ?></a>&nbsp;|&nbsp;<a target="new" href="<?php echo $listing->guid; ?>"><?php echo VIEW; ?></a></span></td>
     
  5. aliounn

    aliounn Member

    Joined:
    Dec 7, 2012
    Messages:
    136
    Likes Received:
    6
    Hi ipotent,
    Warning disappeared without doing anything, i don't know what happened!
    can you tell me what you really did with these two lines (188,189).
    thank you
     

Share This Page