Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • @alexbaron50

    Can you add me on gmail or google chat?

    [email protected]

    found these lines of codes in \wp-includes\query.php that sort of resembles what you posted:

    function the_post() {
    global $wp_query;

    $wp_query->the_post();
    }

    Is this causing the errors?

    I used wingrep to look for the_post() in all of my website’s files and it was found in these files:

    \wp-admin\includes\class-wp-media-list-table.php
    \wp-admin\includes\dashboard.php
    \wp-admin\includes\nav-menu.php
    \wp-admin\includes\template.php

    \wp-content\themes\made\archive.php
    \wp-content\themes\made\header.php
    \wp-content\themes\made\page.php
    \wp-content\themes\made\search.php
    \wp-content\themes\made\taxonomy.php
    \wp-content\themes\made\template-authors.php
    \wp-content\themes\made\template-full-width.php
    \wp-content\themes\made\template-review-directory-a.php
    \wp-content\themes\made\template-review-directory-b.php
    \wp-content\themes\made\template-reviews.php

    \wp-content\themes\made\functions\custom.php
    \wp-content\themes\made\functions\oswc-cost-types.php
    \wp-content\themes\made\functions\widgets.php

    \wp-content\themes\made\inc\category-panels.php
    \wp-content\themes\made\inc\dont-miss.php
    \wp-content\themes\made\inc\featured.php
    \wp-content\themes\made\inc\front-latest-posts.php
    \wp-content\themes\made\inc\latest.php
    \wp-content\themes\made\inc\related-normal.php
    \wp-content\themes\made\inc\related-review.php
    \wp-content\themes\made\inc\single-normal.php
    \wp-content\themes\made\inc\single-review.php
    \wp-content\themes\made\inc\spotlight.php
    \wp-content\themes\made\inc\tabs.php
    \wp-content\themes\made\inc\trending.php

    \wp-includes\comment.php
    \wp-includes\default-filters.php
    \wp-includes\default-widgets.php
    \wp-includes\feed-atom.php
    \wp-includes\feed-rdf.php
    \wp-includes\feed-rss.php
    \wp-includes\feed-rss2.php
    \wp-includes\post-thumbnail-template.php
    \wp-includes\post.php
    \wp-includes\query.php
    \wp-includes\comments-popup.php

    I couldn’t find it in any of the functions.php. Which one of these files should I be looking at to fix the problem?

    @alexbaron50,

    I’m getting the same errors, but can’t find those lines of codes anywhere.

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘wc_setup_product_data’ not found or invalid function name in /home/xxxxxxx/xxxxxx.com/wp-includes/plugin.php on line 507

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘woocommerce_reset_loop’ not found or invalid function name in /home/xxxxxxx/xxxxxx.com/wp-includes/plugin.php on line 507

    Help pleaseeeeee.

Viewing 4 replies - 1 through 4 (of 4 total)