All add-ons currently require PHP 7.4 or greater.

On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.

Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Category Heading error

Status Resolved
Add-on / Version Publisher 1.7.1
Severity
EE Version 2.11

Cameron Ross

Dec 07, 2016

Hi

I am getting the following error when i access a url http://dev.eufic.org/en/food-production/all/category/food-processing/

A PHP Error was encountered
Severity: Notice
Message: Only variables should be passed by reference
Filename: Publisher/Publisher_channel_categories.php
Line Number: 595

i an trying to get the category header

{exp:channel:category_heading channel="food_production"}

{/exp:channel:category_heading}

Is there a fix for this?

Thanks

 

#1

BoldMinded (Brian)

Can you upgrade to 1.7.4 first to see if this is still an issue?

#2

Cameron Ross

Comment has been marked private.

#3

BoldMinded (Brian)

I don’t recall off hand but my guess is probably not. I still suggest a backup before you do this though.

#4

Cameron Ross

Hi

I have updated to the latest version but the same error exists

#5

BoldMinded (Brian)

Ok. I’ll take a look.

#6

BoldMinded (Brian)

Quick question what version of PHP are you running?

#7

Cameron Ross

php 7

#8

BoldMinded (Brian)

Cameron, change that line from:

$cut_qstring = array_shift($temp = explode('/', $qstring));

to:

$temp = explode('/', $qstring);
$cut_qstring = array_shift($temp);

See if that works.

#9

BoldMinded (Brian)

This has been resolved.

Login to reply