New Landing How can we help? Themeforest Theme Support Dante E_WARNING: Invalid argument supplied for foreach() on every page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Dante
  • #231506
    fifteen
    Member
    Post count: 8

    I’m getting an error on every page but I’m having problems narrowing it down.

    I’ve got a stack trace of:

    site/wp-includes/post.php (1468)
    site/wp-content/themes/dante/swift-framework/custom-post-types/video-type.php (46)
    in video_register called at ? (?)
    site/wp-includes/plugin.php (503)
    site/wp-settings.php (353)
    site/wp-config.php (93)
    site/wp-load.php (37)
    site/wp-admin/admin-ajax.php (22)

    in register_post_type called at /site/wp-content/themes/dante/swift-framework/custom-post-types/video-type.php

    I think it’s to do with that video-type post type.

    full errors:

    Invalid argument supplied for foreach() in /var/www/vhosts/site/wp-includes/post.php on line 1468, referer: http://site/wp-admin/post.php?post=10591&action=edit
    PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/site/wp-includes/post.php on line 1468, referer: http://site/

    #231508
    David Martin – Support
    Moderator
    Post count: 20834

    Please add a WP URL and login, can you also update the theme version and all plugins.

    Please also open your wp-config.php file and add: define('WP_DEBUG', false);

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register