Title: PHP7 WEB CHANGE SERVER ERROR PLUGING
Last modified: August 16, 2019

---

# PHP7 WEB CHANGE SERVER ERROR PLUGING

 *  Resolved [lalonsocal](https://wordpress.org/support/users/lalonsocal/)
 * (@lalonsocal)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/php7-web-change-server-error-pluging/)
 * hello, my web server has changed to php7 and the files in this plugin have become
   old. I attach the error. Is it possible to update the files to fix this error?
   Thank you!!
 * ERROR
    —————
 * Deprecated: Methods with the same name as their class will not be constructors
   in a future version of PHP; Services_JSON has a deprecated constructor in /homepages/
   40/d568468706/htdocs/wp-content/themes/Divi/redsysHMAC256_API_PHP_4.0.2/json.
   php on line 115
 * Deprecated: Methods with the same name as their class will not be constructors
   in a future version of PHP; Services_JSON_Error has a deprecated constructor 
   in /homepages/40/d568468706/htdocs/wp-content/themes/Divi/redsysHMAC256_API_PHP_4.0.2/
   json.php on line 781
 * Deprecated: Methods with the same name as their class will not be constructors
   in a future version of PHP; Services_JSON_Error has a deprecated constructor 
   in /homepages/40/d568468706/htdocs/wp-content/themes/Divi/redsysHMAC256_API_PHP_4.0.2/
   json.php on line 795
 * Fatal error: Uncaught Error: Call to undefined function mcrypt_encrypt() in /
   homepages/40/d568468706/htdocs/wp-content/themes/Divi/redsysHMAC256_API_PHP_4.0.2/
   apiRedsys.php:69 Stack trace: #0 /homepages/40/d568468706/htdocs/wp-content/themes/
   Divi/redsysHMAC256_API_PHP_4.0.2/apiRedsys.php(139): RedsysAPI->encrypt_3DES(‘
   1565953560’, ‘O\xDFo\x0F\xA4\x89\x8FY\xBA\x0EhiC\xB6\xA5…’) #1 /homepages/40/
   d568468706/htdocs/wp-content/themes/Divi/page_envio_pago.php(120): RedsysAPI-
   >createMerchantSignature(‘O\xDFo\x0F\xA4\x89\x8FY\xBA\x0EhiC\xB6\xA5…’) #2 /homepages/
   40/d568468706/htdocs/wp-includes/template-loader.php(74): include(‘/homepages/
   40/d…’) #3 /homepages/40/d568468706/htdocs/wp-blog-header.php(19): require_once(‘/
   homepages/40/d…’) #4 /homepages/40/d568468706/htdocs/index.php(17): require(‘/
   homepages/40/d…’) #5 {main} thrown in /homepages/40/d568468706/htdocs/wp-content/
   themes/Divi/redsysHMAC256_API_PHP_4.0.2/apiRedsys.php on line 69
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp7-web-change-server-error-pluging%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [jesusangel.delpozo](https://wordpress.org/support/users/jesusangeldelpozo/)
 * (@jesusangeldelpozo)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/php7-web-change-server-error-pluging/#post-11849711)
 * Hello,
 * Thanks for the report. I’ll check it and I’ll get back in touch when I have fixed
   these errors.
 * Kind regards,
 *  Plugin Author [jesusangel.delpozo](https://wordpress.org/support/users/jesusangeldelpozo/)
 * (@jesusangeldelpozo)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/php7-web-change-server-error-pluging/#post-11849840)
 * Hi again,
 * I’m afraid, but you are not using my plugin so I can’t help you. My plugin works
   with the WooCommerce ecommerce plugin for WordPress. I think you have a custom
   code to pay for the bookings.
 * Kind regards,

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP7 WEB CHANGE SERVER ERROR PLUGING’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-sermepa-payment-gateway.
   svg)
 * [WooCommerce Sermepa payment gateway](https://wordpress.org/plugins/woocommerce-sermepa-payment-gateway/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-sermepa-payment-gateway/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-sermepa-payment-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-sermepa-payment-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-sermepa-payment-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-sermepa-payment-gateway/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [jesusangel.delpozo](https://wordpress.org/support/users/jesusangeldelpozo/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/php7-web-change-server-error-pluging/#post-11849840)
 * Status: resolved