Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [php7]

PHP 7 is the successor to PHP 5.6, it was released on December 3, 2015. Use this tag for issues relating to development using PHP 7

0
votes
1answer
57 views

Problems When I change my PHP version to 7.2(Error 0 Using $this when not in object context )

I have my website in production now, The site works very good with PHP 5.6 and 7.0 but When I try to change the PHP version to 7.2 the website doesn't work. It shows me an error message like this: I'...
0
votes
0answers
104 views

Upgrade PHP to 7.2 cause error

After upgrading my php from 7.0 to 7.2, I get a blank page on the website saying this : Error: Call to undefined method Error::get(): Using $this when not in object context And with the ...
1
vote
1answer
64 views

Solidres Data Report for Joomla Admin

I am pretty new to Joomla & PHP so this is a broad question. My client is looking for some custom reports for Admin login on data prepared by Solidres as that Solidres doesn't have those reports....
2
votes
1answer
336 views

Upgrade from 3.8.7 to 3.8.8 - Failure - Using $this when not in object context

My site is down completely. Swapping out my custom template with another very small template allows the system to operate but without most positions. I believe that the error "Using $this when not in ...
0
votes
1answer
1k views

Upgrading to PHP 7.2 causes 500 Error

I currently have a Joomla 3.8.7 running on a Xubuntu 14.04 LAMP server. The site was working normally until the server was upgraded to PHP 7.2. Now when we try to access the admin login or the site we ...
0
votes
0answers
31 views

How can i create new joomla user group using external php script

I want to create new joomla user group using an external PHP script using Joomla User group model api, but the problem is when I pass my data into the GroupUserModel it gives me error - Error ...
0
votes
1answer
17 views

different templates based on $item number

foreach ($this->intro_items as $key => &$item) { $this->item = &$item; echo $this->loadTemplate('item'); } I would like to be able to change the template used for specific ...
0
votes
0answers
42 views

echo sorting direction without grid.sort on selected column

using JHTML grid.sort I can sort the columns but I want to sort without this <?php echo JHTML::_( 'grid.sort', JText::_('lastName'), 'lastName', $this->sortDirection, $this->sortColumn); ?&...
1
vote
1answer
191 views

Joomla issue - "$this->items = $this->get('Items'); does not work anymore under PHP 7.1 and 7.2

In my component I am assigning the data from the model to the view using class FileUploaderViewFileUploader extends JViewLegacy { // Overwriting JView display method function display($...
0
votes
2answers
35 views

I'm creating a custom payment method using example plugin, but during checkout, I get an error 30 - Failed Missing Field Merchant ID

I'm creating a custom payment method using example plugin, but during checkout, I get an error 30 - Failed Missing Field Merchant ID. Has anyone encountered this? Can someone help? Where should this ...
0
votes
1answer
289 views

After Login waring error You are not authorised to view this resource

I am getting warning error when user logged in. After logged in on top of header show warning message "You are not authorised to view this resource." And when try to download attachment it's showing ...
2
votes
1answer
146 views

Your PHP Version Will Be Unsupported in Joomla! 3.3

I am using PHP Version 7.0.12 and Joomla Version 3.7.3. And I am facing this message "Your PHP Version Will Be Unsupported in Joomla! 3.3" As per Joomla 3.3 System requirement: Starting with ...
0
votes
0answers
36 views

A PHP 7 question concerning =& ANSWERED

A number of extensions seem to use =& which doesn't seem to work in PHP7, what should I replace it with? Paul
5
votes
2answers
4k views

How can I fix “The PHP temporary folder is not set” warning/error?

I'm attempting to migrate a Joomla 3.7.1 website onto a new server - and have (mostly) successfully done so using a traditional AkeebaBackup migration. The source site/server is running PHP 5.6.30 ...
0
votes
1answer
60 views

K2 Category Filter Extension freezes after selection and filter

Just need a little bit of help with this extension: https://extensions.joomla.org/extension/filter-for-k2/ Basically it is a dropdown filter for K2 articles. My problem is that after you make a ...
4
votes
3answers
714 views

PHP 7 - how to get usefull information from an exception message?

After upgrading from PHP5 to PHP7 I get an error page saying: 0 - [] operator not supported for strings I've read that now PHP7 is smarter with exception. But the message I get is totally useless. I ...
1
vote
1answer
363 views

Issue with upgrade to php7 and new mysql

I upgraded everything from nginx to php to mysql and everything is configured correctly seeing as i can install a fresh version of joomla, but my previous project is now showing a blank page, no ...
0
votes
0answers
635 views

PHP5 to PHP7 Call to undefined method ControllerModulequicksearchmodule::render()

I have a module that worked with PHP5 but after upgrading to PHP7 the module is no longer working and I get the error Call to undefined method ControllerModulequicksearchmodule::render() The code ...
10
votes
2answers
836 views

What changes in code are required to make Joomla 3.5 extensions PHP7 compatible?

(Please bear with me, I am sorry but I just can't ask this quickly.) We are all hardly waiting for Stable Version of Joomla 3.5.0, aren't we? RC3 RC4 was released today and it is just a matter of ...