WPIntell

Source evidence

Fatal error: … on line 36

Exchange Rates Today · review · 2018-11-16T20:30:00+00:00

praisesentiment
highseverity
0.71relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

3 / 31 rows with source links

9.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

review · 5 stars
tokach unresolved
Fatal error: Cannot use $this as parameter in …public_html/x.pp.ua/wp-content/plugins/exchange-rates-today/exchange-rates-today.php on line 36 =(( This topic was modified 7 years, 6 months ago by tokach . When translating a site from php 5.6 to 7.xx, you can get the following template error: FATAL ERROR: CAN’T USE THIS AS A PARAMETER IN / TEMPLASTS /****/LAYOUTS/FILE.PHP ON LINE ** Basically, the line that causes this error looks something like this: BDT_HEADERSTYLE FUNCTION ($ IT) It is treated simply: change $ this, for example, to $ then or any other unused variable. Make a replacement in the entire template file. Thank you a lot, Artyom Now it works. I changed it to $ktoday wich will never be used by other developers, I hope) Maybe you should update your plugins with new variable so more people will use it out of box with no code edits. Thank you. This reply was modified 7 years, 6 months ago by tokach .

Comments

2 shown
delicacy26 2018-11-19T17:48:00+00:00

When translating a site from php 5.6 to 7.xx, you can get the following template error: FATAL ERROR: CAN’T USE THIS AS A PARAMETER IN / TEMPLASTS /****/LAYOUTS/FILE.PHP ON LINE ** Basically, the line that causes this error looks something like this: BDT_HEADERSTYLE FUNCTION ($ IT) It is treated simply: change $ this, for example, to $ then or any other unused variable. Make a replacement in the entire template file.

tokach 2018-11-25T12:18:00+00:00

Thank you a lot, Artyom Now it works. I changed it to $ktoday wich will never be used by other developers, I hope) Maybe you should update your plugins with new variable so more people will use it out of box with no code edits. Thank you. This reply was modified 7 years, 6 months ago by tokach .