7

The problem with that is that if {parent_id} doesn't get replaced with a number before the conditional is evaluated, then EE will choke because when converted to PHP it becomes: if ({parent_id} == 0) Either this {if parent_id != 0} Or this {if "{parent_id}" != "0"} Is more fault tolerant when the variable doesn't exist. But, you may wonder, why is ...


6

According to http://uk1.php.net/preg_replace , the /e modifier was removed in PHP 5.5.0 . If you downgrade PHP to pre-5.5.0, then the error will go away. Alternatively, in your config.php file set error_reporting(E_ALL ^ E_DEPRECATED); to hide deprecated warnings. Alternatively, upgrade Textile - but it looks like http://devot-ee.com/add-ons/textile-editor-...


5

This one's not worth tracking down the root of to be honest -- this is most definitely not what embeds are for, and I'm not surprised you're hitting an error when trying to load this giant hunk of PHP as an embed. My advice is to work with ExpressionEngine, not against it by cramming dozens of lines of PHP into a template. I'd look at moving your custom ...


5

Okay, this definitely is an Assets issue, but here's a temporary fix. Open up ft.assets.php and look up the grid_replace_tag method, around line 1771. In there, you can see this line of code: $field_name = ee()->db->select('field_name')->from('channel_fields')->where(array('field_id' => $this->field_id))->get()->row('field_name'); ...


4

You can log errors to a file using php_value error_log in your .htaccess file: https://stackoverflow.com/questions/11330041/specify-a-relative-path-to-php-value-error-log Here's a recommended .htaccess setup: php_flag display_errors 1 php_flag display_startup_errors 1 php_value error_reporting 30719 php_value error_log /home/USER/log/PROJECT.log php_flag ...


4

If somebody will have the same error - check if you have Solspace FreeForm . I had the same issue because of this (FreeForm v.4.0.4). Fix - temporary remove freeform folder. You can return it back after update will finish.


4

Check that your cache directory's permissions are set to 777 so that it's fully readable/writeable.


3

The first error indicates that some if-statement in your template is wrong. Maybe you have a " sign to much? If this error is on all pages maybe some embeded template has it - if not it can be in a specific template. See this: {if ""y"} The second PHP-error just tells you theres been some output to the browser before the standard output (the template) has ...


3

When updating freeform, you need to delete the old directories before uploading the new: Updating: Within your sites ./system/expressionengine/third_party/ directory, delete the freeform folder and upload the new one from the /system/expressionengine/third_party/ directory in your download package. Within your sites ./themes/third_party/ directory, delete ...


3

I have chance to make test - the reason of this can be wrong tag in TO field. For example, for Entry Update/Create trigger needs to use *author_email* instead of *mbr_email*. I will try soon make better example in docs (and with additional notifications inside the add-on to prevent such situation).


3

Ugh, wasn't logged in properly.... They sent me this on email support: If you could just replace line 814 in Assets_lib.php file with if (!(count($full_folder_list) == 1 && reset($full_folder_list) == ":any:")) you should be fine :)


3

$plugin_info is a required array for ExpressionEngine 2.x plugins. The PHP class providing the functionality for the plugin will work fine without it, but that is where the information for installed plugins is pulled to be displayed in the control panel. You can find the full details here: ExpressionEngine Plugin API: $plugin_info array e.g.: $plugin_info ...


3

After speaking with Derek privately I was able to resolve the issue which is a permissions error. The steps taken to solve this are: Via FTP/SSH navigate to system/expressionengine/cache and delete everything with the exception of .htaccess and index.html . Afterwards, change your permissions on system/expressionengine/cache to be 777 then restart your ...


3

"Transfer Needs for Europe's Biggest Sides in Summer" isn't an entry_id and should not be in the where in clause. Wygwam is pulling those entry ids from EE's page ids. Check the page module and any config overrides.


3

Fixed: I found ini_set('memory_limit', '64M'); in /system/expressionengine/third_party/assets/sources/s3/source.s3.php and changed it to 1024M


3

This is a PHP parse error. It's exactly what Derek Hogue said. On line 33 you are trying to use a stdClass as an array in some functionality on a template that has PHP parsing turned on. EE template: Hello from {site_url}! <?php $stdclassvar = new stdClass; echo gettype($stdclassvar); // this outputs "object" $arrayvar = array(); echo gettype($...


3

Umm index.php /* * -------------------------------------------------------------------- * Error Reporting * -------------------------------------------------------------------- * * PHP and database errors are normally displayed dynamically based * on the authorization level of each user accessing your site. * This variable allows the error ...


3

I located this line (found at 721) in /system/expressionengine/libraries/Session.php and removed login_state from the query - so from this: ee()->db->select('member_id, admin_sess, last_activity, fingerprint, sess_start, login_state'); to this: ee()->db->select('member_id, admin_sess, last_activity, fingerprint, sess_start'); // login_state ...


3

Could it be that PHP short tags are not enabled in php.ini? Looks like <?= syntax required it until PHP version 5.4? 3 possible fixes: update php to 5.4 or better update your code to use <?php instead of <?= update your php.ini file to enable short_open_tag For my money, #1 is the best as everyone should be on 5.6 (or 7 if possible).


3

As error says, PHP 7 is only allow variables to passed by reference not an instance. You now need to remove that line and replace all $this->EE calls to ee(). That will work for you.


2

As the error says, PHP requires you to set a default timezone. This is actually quite a common error message when setting up a new server (or local development environment) with PHP. You need to find your php.ini file on the server (ask your host where it is, or ask them to edit it for you). Find this part: ; Defines the default timezone used by the date ...


2

I just had this issue too on same installation. I had installed a new fieldtype (Plate Picker), which uses the $settings['options'] array too to store the field_type settings. Problem is that P&T pill assumes all values inside $settings['options'] are string values, but with my new field_type they are not. I didn't dig deeper into EE Fieldtypes to find ...


2

Field Pack gives you the option to specify a name and value pair, so in your field you could set: [value] : [name] which might equate to say 1 : Yes 0 : No This would then display in your pill field as a Yes/No button, but allow you to use the value instead of the name in your template logic. eg. {if pill_field == '1'} The code you've commented out ...


2

I've been getting the same "Undefined variable: category_name" since I upgraded to 2.8.1. It only shows up when I'm using Super Search which I figured was needing to be updated to support EE 2.8.1. Super Search ver 2.1.4 was released on April 8 and the error persists after upgrading. Thankfully, the error only shows when logged in which the client and ...


2

It's probably caused by having PHP on Output, rather than Input, but you can avoid using PHP altogether. The way Low Events is set up, and the way Low Seg2Cat works, will allow you to set both parameters regardless of their format: {exp:low_events:entries date="{segment_2}" category="{segment_2_category_id}"} ... {/exp:low_events:entries} If segment 2 ...


2

Actually, that error message points to line 1 of eval()'d code, which is executed on line #3276 of Template.php: eval("\$result = (".$cond.");"); This is part of parsing conditionals. So it looks like there's a problem with one of your conditionals. And since you say the error occurs on each page, the conditional most likely is present in a header/footer ...


2

Have you checked with the hosting company? They may have updated the server software recently and enabled open_basedir. P.S. You shouldn't post your real server paths publicly, it's a security concern.


2

I had a similar issue recently on a VPS account – the local version worked. It ended up being a mod security setting that was preventing this from saving with the same error you mentioned. Oddly this is the first time this issue came up with ExpressionEngine, despite being an issue with other CMS before using the same provider (Liquidweb in my case.) Hope ...


2

If you upgraded EE to 2.8.1, you will need to upgrade CartThrob to 2.6. 2.6 was the first version of CartThrob tested with EE 2.8 See CartThrob changelog You shouldn't need to uninstall cartthrob for any reason, a straight upgrade will be fine, although your jumping quite a few versions so extensive testing will be required.


2

Do not use ini_set()! It is only a temporary value change; after script execution ends the value returns to what is set in your configuartion file, and Solspace Calendar might be curling the server for all we know (I don't use it, I'm sure it's great). Set the memory_limit higher in your php.ini file. Then make sure to restart Apache/Nginx or whatever your ...


Only top voted, non community-wiki answers of a minimum length are eligible