Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-05-13 21:56:47

mattgilbert
Member
Registered: 2006-03-23
Posts: 70

Warning: Missing argument 1 for site_url()

Does anyone know what causes this?:

Warning: Missing argument 1 for site_url()

The call to site_url() works fine in spite of this error. Is this one of those things you just have to ignore until you set your Production Status to Live?

Offline

#2 2007-05-13 21:58:38

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Warning: Missing argument 1 for site_url()

If you’re using site_url inside <txp:php> tags or in a plugin, use it as site_url(array()) instead of site_url()

Offline

#3 2007-05-13 22:05:08

mattgilbert
Member
Registered: 2006-03-23
Posts: 70

Re: Warning: Missing argument 1 for site_url()

Thanks!

Offline

Board footer

Powered by FluxBB