# PHP error on contact page. Solved but maybe useful

**URL:** <https://forums.realmacsoftware.com/t/php-error-on-contact-page-solved-but-maybe-useful/38444>\
**Category:** RapidWeaver Classic\
**Created:** [March 28, 2021, 12:52pm UTC](https://forums.realmacsoftware.com/t/php-error-on-contact-page-solved-but-maybe-useful/38444 "2021-03-28T12:52:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hans\_solo](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/hans_solo/32/19389_2.png) [@Hans\_solo](https://forums.realmacsoftware.com/u/Hans_solo)\
**Post date:** [March 28, 2021, 12:52pm UTC](https://forums.realmacsoftware.com/t/php-error-on-contact-page-solved-but-maybe-useful/38444/1 "2021-03-28T12:52:15Z")

</div>

I had a problem with my contact page yesterday and had to change my PHP (lowered the value) on my server to eradicate, this was the response from Little Oak who host my Sites.

No need to reply to me but wanted to share.

David

**Hello,**

**You’ll see at [https://www.php.net/manual/en/function.get-magic-quotes-gpc.php](https://www.php.net/manual/en/function.get-magic-quotes-gpc.php) that the get\_magic\_quotes\_gpc function was deprecated in PHP 7.4 and fully removed in PHP 8.**

**Obviously, RW will need an update in the near future that does not use get\_magic\_quotes\_gpc. I am sure their developers are aware but I recommend you also contact RW about this just to be sure.**

**Thank you,**  
**Jimmy**  
**---------------------------------------------------**  
**Little Oak Hosting**

---

<div class="post-metadata">

**Author:** ![Hubert](https://avatars.discourse-cdn.com/v4/letter/h/9d8465/32.png) [@Hubert](https://forums.realmacsoftware.com/u/Hubert)\
**Post date:** [March 29, 2021, 1:54am UTC](https://forums.realmacsoftware.com/t/php-error-on-contact-page-solved-but-maybe-useful/38444/2 "2021-03-29T01:54:00Z")

</div>

**For information** , this similar topic that I created last February…

> [@Contact form does not work with PHP 8.0](http://forums.realmacsoftware.com/t/contact-form-does-not-work-with-php-8-0/37302):
>
> Hi everybody, The contact form integrated into RW7 does not work with the new PHP 8.0 version. When you send a message, you get this : Fatal error: Uncaught Error: Call to undefined function get\_magic\_quotes\_gpc()… After internet research, get\_magic\_quotes\_gpc() has been removed in PHP 8 (deprecated since 7.4). Is there a solution ? Just for information, can someone tell me if the contact form built into RW8 works with PHP 8.0. Thank you for your answers

---

<div class="post-metadata">

**Author:** ![Fuellemann](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/fuellemann/32/22871_2.png) [@Fuellemann](https://forums.realmacsoftware.com/u/Fuellemann)\
**Post date:** [March 29, 2021, 2:40am UTC](https://forums.realmacsoftware.com/t/php-error-on-contact-page-solved-but-maybe-useful/38444/3 "2021-03-29T02:40:09Z")

</div>

Important for @dan and @tpbradley

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [April 13, 2021, 9:38am UTC](https://forums.realmacsoftware.com/t/php-error-on-contact-page-solved-but-maybe-useful/38444/4 "2021-04-13T09:38:03Z")

</div>

> [@Hans\_solo](#):
>
> **You’ll see at [https://www.php.net/manual/en/function.get-magic-quotes-gpc.php](https://www.php.net/manual/en/function.get-magic-quotes-gpc.php) that the get\_magic\_quotes\_gpc function was deprecated in PHP 7.4 and fully removed in PHP 8.**
> 
> **Obviously, RW will need an update in the near future that does not use get\_magic\_quotes\_gpc. I am sure their developers are aware but I recommend you also contact RW about this just to be sure.**

Thanks, it’s on the list to fix. We got it!

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/system/32/25301_2.png) [@system](https://forums.realmacsoftware.com/u/system)\
**Post date:** [May 13, 2021, 7:38pm UTC](https://forums.realmacsoftware.com/t/php-error-on-contact-page-solved-but-maybe-useful/38444/5 "2021-05-13T19:38:30Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
