• Resolved RCole

    (@rcole)


    Getting the following error on page:

    Warning: Invalid argument supplied for foreach() in /homepages/19/d706197720/htdocs/clickandbuilds/LAYC/wp-content/plugins/team-builder/template/design-1/index.php on line 61

    Here is the code at line 61:

    foreach($All_data as $single_data)
    {
    $mb_photo = $single_data[‘mb_photo’];
    $mb_name = $single_data[‘mb_name’];
    $mb_pos = $single_data[‘mb_pos’];
    $mb_desc = $single_data[‘mb_desc’];
    $mb_fb_url = $single_data[‘mb_fb_url’];
    $mb_twit_url = $single_data[‘mb_twit_url’];
    $mb_lnkd_url = $single_data[‘mb_lnkd_url’];
    $mb_gp_url = $single_data[‘mb_gp_url’];

    Thank you for your help

    Randy

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author wpshopmart

    (@wpshopmart)

    kindly avoid backslah(\) in description field.This is not supportable.

    Thread Starter RCole

    (@rcole)

    Thank you for the quick response. But, I can’t see the description field to check it for a (\) char. When I open any of the teams on the site (there are 6) in the Team Builder Panel, under the “Add Team Member Here” section it has the following Warning:

    Warning: Invalid argument supplied for foreach() in /homepages/19/d706197720/htdocs/clickandbuilds/LAYC/wp-content/plugins/team-builder/ink/admin/add-team.php on line 116
    Slightly different than the one I posted yesterday. In the ink path instead of the design-1 path

    Thank you for your help.

    Randy

    Thread Starter RCole

    (@rcole)

    Any thoughts on how to proceed? Is there another way to get to the description data?

    Thanks for your help

    Randy

    Plugin Author wpshopmart

    (@wpshopmart)

    I think this any other plugin is conflicting to this one. Please deactivate other plugins one by one and look at which plugin is conflicting.

    I am having this same issue. I disabled other plugins and that didn’t fix the issue. The admin page for this plugin only shows the error and none of my entries, so I can’t change/fix any unsupported characters. Please advise.

    @rcole did you ever find a solution?

    Found the database entry and fixed the issue there. If anyone runs into this issue, you can go to wp_postmeta table and change meta_value where meta_key = wpsm_team_b_data.

    In my case, I accidentally pasted and saved an entire sentence into one of the social link fields in the Admin panel. To erase, it, I removed the sentence and set the size to 0:

    s:9:"mb_fb_url";s:0:"";

    I highly recommend saving the value to a text file before making the change in the database, to avoid totally losing it if something goes wrong.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Warning on page’ is closed to new replies.