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

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

As error messages indicate, its due to FROM value which doesn't get by Email library. Can you check the MX Notify Control setting for that channel entry notification if having "From Name" and "From Name".


3

I just came across this issue too and it turns out while the EE filemanager doesn't mind a missing trailing slash on the server path, Assets does. Make sure your upload directory server path has a trailing slash. Resolved the issue for me.


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

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

I looked at line 739 in Loader.php. It's $buffer = ob_get_contents();. Here is the code right around it. log_message('debug', 'File loaded: '.$_ci_path); // Return the file data if requested if ($_ci_return === TRUE) { $buffer = ob_get_contents(); @ob_end_clean(); return $buffer; } Looks like a debug message is being logged right before this ...


2

I suspect there are some sessions/cookies referenced in the DB that that exist on the production server, but not the other environment; removing said references from the DB could resolve it.


2

you've posted a few problems here. Can we focus on the Matrix issue first? Can you delete and re-upload /themes/third_party/matrix? Usually if you can't see some options showing up, then the issue is the themes folder. I'm curious how much of this will fall into place if the themes are for sure fine. Also, what FTP client are you using? And what kind of ...


2

This line here: $upload_total = $this->EE->db->get('exp_competition_purchase_upload_total'); Is getting a result object, not the actual upload_total column. Change it to this to get the actual column value. $upload_total = $this->EE->db->get('exp_competition_purchase_upload_total')->row('upload_total');


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

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

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

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 ...


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