# I have had this before

**URL:** https://forums.realmacsoftware.com/t/i-have-had-this-before/57239
**Category:** RapidWeaver Classic
**Created:** [August 7, 2026, 7:13am UTC](https://forums.realmacsoftware.com/t/i-have-had-this-before/57239 "2026-08-07T07:13:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![guywoodland](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/guywoodland/32/37434_2.png) [@guywoodland](https://forums.realmacsoftware.com/u/guywoodland)
#### Post date: [August 7, 2026, 7:13am UTC](https://forums.realmacsoftware.com/t/i-have-had-this-before/57239/1 "2026-08-07T07:13:07Z")

</div>

On this site [https://fishingforcarpinfrance.co.uk](https://fishingforcarpinfrance.co.uk/)

Im getting this error message. Any ideas. Have republished all. Have restarted Rapidweaver several times and restarted computer.

**Fatal error** : Uncaught Error: Call to undefined function getPageUrl() in /Users/guywoodland/Library/Containers/com.realmacsoftware.rapidweaver8/Data/tmp/RapidWeaver/31763/document-0x42debdaf0/RWDocumentPagePreview/read-more-about/index.php:1404 Stack trace: #0 /Applications/RapidWeaver [8.app/Contents/Resources/RWWebServerLaunch.php(175)](http://8.app/Contents/Resources/RWWebServerLaunch.php(175)): include() #1 {main} thrown in **/Users/guywoodland/Library/Containers/com.realmacsoftware.rapidweaver8/Data/tmp/RapidWeaver/31763/document-0x42debdaf0/RWDocumentPagePreview/read-more-about/index.php** on line **1404**

---

<div class="post-metadata">

### Author: ![vivek](https://avatars.discourse-cdn.com/v4/letter/v/77aa72/32.png) [@vivek](https://forums.realmacsoftware.com/u/vivek)
#### Post date: [August 7, 2026, 7:41am UTC](https://forums.realmacsoftware.com/t/i-have-had-this-before/57239/2 "2026-08-07T07:41:30Z")

</div>

That error means PHP is trying to run a function called `getPageUrl()` on your **read-more-about** page, but that function doesn’t actually exist in the preview. It’s not a built-in PHP function, so something on that page (a stack, theme code, or custom PHP) is calling a helper that never got loaded.

**What to try:**

1. Open the **read-more-about** page in RapidWeaver
2. Search the project for `getPageUrl` (page HTML/PHP, stacks, and any site-wide header/footer code)
3. Either remove that call, replace it with a normal link, or restore whatever stack/include used to define that function
4. Preview again after the change

If you can’t find it on the page itself, check shared headers/footers and any custom PHP snippets — that’s usually where this kind of leftover code sits.

---

<div class="post-metadata">

### Author: ![guywoodland](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/guywoodland/32/37434_2.png) [@guywoodland](https://forums.realmacsoftware.com/u/guywoodland)
#### Post date: [August 8, 2026, 1:02pm UTC](https://forums.realmacsoftware.com/t/i-have-had-this-before/57239/3 "2026-08-08T13:02:04Z")

</div>

Thank you @vivek The offending stack was in SEO Meta Tags namely Facebook Open Graph - strange but working now.

---

<div class="post-metadata">

### Author: ![vivek](https://avatars.discourse-cdn.com/v4/letter/v/77aa72/32.png) [@vivek](https://forums.realmacsoftware.com/u/vivek)
#### Post date: [August 8, 2026, 5:05pm UTC](https://forums.realmacsoftware.com/t/i-have-had-this-before/57239/4 "2026-08-08T17:05:25Z")

</div>

Lol, it’s not you it’s me 😃. Glad its working, let me know if you need any help!
