Jump to content

Create Page via API, Class not found


tmo207
 Share

Recommended Posts

Hi,

I want to create a page via API, but when using "new Page();" in my Code, I get the following error:

Error: Uncaught Error: Class 'Page' not found in /homepages/37/d660176560/htdocs/ProcesswireProject/site/templates/home.php:67

Someone familiar with that?

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...