On a new site when I try to add a copyright script:
<p>© {source}<?php<br /> ini_set('date.timezone', 'Africa/Johannesburg');<br />$startYear = 2007;<br /> $thisYear = date('Y');<br /> if ($startYear == $thisYear) {<br /> echo $startYear;<br /> }<br /> else {<br /> echo "{$startYear}-{$thisYear}";<br /> }<br /> ?>{/source} <em>Bartwebsites</em> | All Rights Reserved.<br />{source}<?php echo strftime('%A, %d %B %Y'); ?> {/source}</p>
<p>Website & Hosting by <a href="http://www.bartwebsites.com" target="_blank">Bartwebsites</a></p>
I get the following message:
Deprecated: Use of "self" in callables is deprecated in /home/siphoimx/public_html/administrator/components/com_nicepage/library/src/Processor/PositionsProcessor.php on line 33
On a new site when I try to add a copyright script: <p>© {source}<?php<br /> ini_set('date.timezone', 'Africa/Johannesburg');<br />$startYear = 2007;<br /> $thisYear = date('Y');<br /> if ($startYear == $thisYear) {<br /> echo $startYear;<br /> }<br /> else {<br /> echo "{$startYear}-{$thisYear}";<br /> }<br /> ?>{/source} <em>Bartwebsites</em> | All Rights Reserved.<br />{source}<?php echo strftime('%A, %d %B %Y'); ?> {/source}</p> <p>Website & Hosting by <a href="http://www.bartwebsites.com" target="_blank">Bartwebsites</a></p> I get the following message: Deprecated: Use of "self" in callables is deprecated in /home/siphoimx/public_html/administrator/components/com_nicepage/library/src/Processor/PositionsProcessor.php on line 33Last edited 29 August 2023 by Romuba