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:
Open the read-more-about page in RapidWeaver
Search the project for getPageUrl (page HTML/PHP, stacks, and any site-wide header/footer code)
Either remove that call, replace it with a normal link, or restore whatever stack/include used to define that function
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.