• hello,

    I have uploaded and installed my theme. but at some place of theme menu I get the following error:

    Warning: Invalid argument supplied for foreach() in C:\wamp\www\wp3.0.0\wp-content\themes\Listings\includes\theme-functions.php on line 1344
    Call Stack

    # Time Memory Function Location
    1 0.0017 1001336 {main}( ) ..\edit.php:0
    2 0.2806 38072664 require_once( ‘C:\wamp\www\wp3.0.0\wp-admin\admin-header.php’ ) ..\edit.php:191
    3 0.3210 38213864 screen_meta( ) ..\admin-header.php:152
    4 0.3210 38214016 get_column_headers( ) ..\template.php:3563
    5 0.3214 38215856 apply_filters( ) ..\template.php:761
    6 0.3214 38217208 call_user_func_array ( ) ..\plugin.php:166
    7 0.3214 38217240 woo_listing_edit_columns( ) ..\plugin.php:0

    can someone tell me what to do or what could be the problem for this please?.
    * I upgraded my wp version but the problem still is there. I try this on the latest WAMP server.

Viewing 4 replies - 1 through 4 (of 4 total)
  • There’s an error in line 1344 of the theme’s functions.php file.

    Thread Starter Teknoguru

    (@teknoguru)

    ok, I didn’t get much from this code.
    it says:

    1342 $my_current_post_type = $post->post_type;	$my_post_type_obj =
    1343 $wp_custom_post_types[$my_current_post_type];
    1344 foreach ($my_post_type_obj->taxonomy as $post_type_taxonomy) {
    1345 $taxonomy_details = get_taxonomy( $post_type_taxonomy );

    [Please post code snippets between backticks or use the code button.]

    can you give me a hint what to do here? please

    This is unlikely to be a simple fix. I’d suggest you try contacting the theme’s developer. Perhaps s/he can help sorting this bug out.

    Thread Starter Teknoguru

    (@teknoguru)

    thanks alot.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘theme’ is closed to new replies.