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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    38,659
    Likes Received:
    1,427
    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!
     
Loading...

Share This Page