Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Need to run wp_query

Discussion in 'General Discussion' started by lemonad, Sep 12, 2016.

Tags:
  1. lemonad

    lemonad Registered

    Joined:
    Sep 12, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Website Owner
    Need to run wp_query on a separate php file for an ajax call

    Fatal error: Class 'WP_Query' not found in C:\wamp64\www\word\wp-content\themes\word\templates\calendar-function.php on line 67 .
     
    #1 lemonad, Sep 12, 2016
    Last edited by a moderator: Sep 12, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,396
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You will likely receive more feedback to this question on the WordPress support forums:

    WordPress.org Forums

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice