TOPIC:

"Natural Way" update for PHP 7.X? 2 years 8 months ago #228334

  • Topic Author
  • SusanneBoe
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 5
  • Thanks: 0
Hi there,

I use Natural Way 1.2, Gantry is up-to-date with 4.1.34.
If I change PHP from 5.6 to 7.0 I get error messages "Deprecated: Methods with the same name ... "

Sorry, but I didn't find a way to update the template. Could you please help me?

Greetings

Please Log in or Create an account to join the conversation.

"Natural Way" update for PHP 7.X? 2 years 8 months ago #228388

  • MarioPuco's Avatar
  • MarioPuco
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 5958
  • Karma: 119
  • Thanks: 557
Hello,

Unfortunately we did not updated our templates to match PHP 7.1 due to the fact that entire team is divided on other projects....
Can you tell me what is the EXACT error you get when you switch to php 7.1 ?

Rgds,
Mario
The following user(s) said Thank You: SusanneBoe

Please Log in or Create an account to join the conversation.

"Natural Way" update for PHP 7.X? 2 years 8 months ago #228401

  • Topic Author
  • SusanneBoe
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 5
  • Thanks: 0
Hi Mario,

thanks for your answer.

Site is running with PHP 5.6 - no problems.

If I set PHP to 7.0 I get:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Color has a deprecated constructor in /mnt/web206/c1/71/53089971/htdocs/TGD/Joomla/templates/naturalway/features/color.php on line 11
Once, at top of first page. After that I can use the page like before.

If I set PHP to 7.1 I get:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Color has a deprecated constructor in /mnt/web206/c1/71/53089971/htdocs/TGD/Joomla/templates/naturalway/features/color.php on line 11

Warning: require_once(/mnt/web206/c1/71/53089971/htdocs/TGD/Joomla/libraries/joomla/document/html/renderer/head.php): failed to open stream: No such file or directory in /mnt/web206/c1/71/53089971/htdocs/TGD/Joomla/templates/naturalway/error.php on line 78 Fatal error: require_once(): Failed opening required '/mnt/web206/c1/71/53089971/htdocs/TGD/Joomla/libraries/joomla/document/html/renderer/head.php' (include_path='.:/opt/RZphp71/includes') in /mnt/web206/c1/71/53089971/htdocs/TGD/Joomla/templates/naturalway/error.php on line 78

Site is visible but not usable.

If I set to 7.2 I see no site only errormessage:
Warning: count(): Parameter must be an array or an object that implements Countable in /mnt/web206/c1/71/53089971/htdocs/TGD/Joomla/plugins/system/gantry/gantry.php on line 406 Deprecated: Function create_function() is deprecated in /mnt/web206/c1/71/53089971/htdocs/TGD/Joomla/libraries/gantry/core/gantry.class.php on line 1043 Deprecated: Function create_function() is deprecated in /mnt/web206/c1/71/53089971/htdocs/TGD/Joomla/libraries/gantry/core/gantry.class.php on line 1043

Warning: require_once(/mnt/web206/c1/71/53089971/htdocs/TGD/Joomla/libraries/joomla/document/html/renderer/head.php): failed to open stream: No such file or directory in /mnt/web206/c1/71/53089971/htdocs/TGD/Joomla/templates/naturalway/error.php on line 78 Fatal error: require_once(): Failed opening required '/mnt/web206/c1/71/53089971/htdocs/TGD/Joomla/libraries/joomla/document/html/renderer/head.php' (include_path='.:/opt/RZphp72/includes') in /mnt/web206/c1/71/53089971/htdocs/TGD/Joomla/templates/naturalway/error.php on line 78

Please Log in or Create an account to join the conversation.

"Natural Way" update for PHP 7.X? 2 years 8 months ago #228403

  • MarioPuco's Avatar
  • MarioPuco
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 5958
  • Karma: 119
  • Thanks: 557
The following user(s) said Thank You: SusanneBoe

Please Log in or Create an account to join the conversation.

"Natural Way" update for PHP 7.X? 2 years 8 months ago #228409

  • Topic Author
  • SusanneBoe
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 5
  • Thanks: 0
Thank you.

The secound link (class/color) works fine with PHP 7.0.

Than I changed the code in the two files as I should, but now I got this errormessage under the header of my site:

Error: 0 - [] operator not supported for strings

You may not be able to visit this page because of:

an out-of-date bookmark/favourite
a search engine that has an out-of-date listing for this site
a mistyped address
you have no access to this page
The requested resource was not found.
An error has occurred while processing your request.

Please Log in or Create an account to join the conversation.

"Natural Way" update for PHP 7.X? 2 years 2 months ago #232660

  • nieth
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 5
  • Thanks: 0
Warum bekommt man hier keine Antwort mehr?

Please Log in or Create an account to join the conversation.

Time to create page: 0.042 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!