I have had this before

On this site 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): 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

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.

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

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