Error messages started showing
-
Hi I love the plugin but i get an error message when dealing with amp pages. It was all working fine. This is an example of the url and error message.
https://cassies.com.au/our-girls/asian-waitresses-sydney/amp/
Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in /home/buckspar/public_html/www.cassies.com.au/wp-content/plugins/permalink-finder/includes/pf-404.php:621 Stack trace: #0 /home/buckspar/public_html/www.cassies.com.au/wp-content/plugins/permalink-finder/includes/pf-404.php(428): kpg_find_permalink_post_exact(‘amp’, ‘2’, ‘N’, ‘N’, ‘N’) #1 /home/buckspar/public_html/www.cassies.com.au/wp-content/plugins/permalink-finder/permalink-finder.php(37): kpg_permalink_fixer() #2 /home/buckspar/public_html/www.cassies.com.au/wp-includes/plugin.php(524): kpg_permalink_finder(”) #3 /home/buckspar/public_html/www.cassies.com.au/wp-includes/template-loader.php(12): do_action(‘template_redire…’) #4 /home/buckspar/public_html/www.cassies.com.au/wp-blog-header.php(19): require_once(‘/home/buckspar/…’) #5 /home/buckspar/public_html/www.cassies.com.au/index.php(17): require(‘/home/buckspar/…’) #6 {main} thrown in /home/buckspar/public_html/www.cassies.com.au/wp-content/plugins/permalink-finder/includes/pf-404.php on line 621
If i delete the plugin i get a 404 error.
Any help gratefully received
-
The bug has been fixed in the stable version at http://www.blogseye.com under Beta test.
Download the zip and install it on your system.
Keith
Hi thanks for getting back to me. I now have no error messages but it still does display the amp version of the page. It works fine with portfolios as i mentioned. I have tried turning plugins and setting on and off but no joy.
The site is cassies.com.au
Thanks
Danny
Ooops Not safe for work.
Are you sure that the url you sent me gets a 404? The permalink finder only kicks in if you type in the wrong url. It looks for 404 errors and then tries to fix them. If it does not get a 404 then it never wakes up.
After the plugin sees a 404 error it looks at the permalink and then finds something that matches it in the database. If there is a /amp and no page found then it will look for a page with “amp” in the page.
If you enter page/amp and it is a valid page, you get the amp version.
Keith
The topic ‘Error messages started showing’ is closed to new replies.