XML Sitemaps Generator

Author Topic: PHP 7 - fatal error -  'break' not in the 'loop' or 'switch' context  (Read 2550 times)

dan43

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 10
We've upgraded to php7 and are now receiving fatal errors. 

 PHP Fatal error:  'break' not in the 'loop' or 'switch' context in

Is there an expected date for php7 support ?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Hello,

please try to redownload and reinstall sitemap generator, this issue should be corrected.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

dan43

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 10
This worked.  Thank you.

dan43

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 10
We did run into another issue, but it turned out to be a server config issue due to security changes introduced in 5.6 (which we jumped over).

Just posting this here, in case anyone else runs into problems with "file_get_contents()" after migrating.

[external links are visible to admins only]


 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2