Problem in mcp_warn.php

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Anti-Spam Guide
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
Mandarola
Registered User
Posts: 245
Joined: Tue Sep 25, 2007 3:21 am

Problem in mcp_warn.php

Post by Mandarola »


Fatal error: Cannot pass parameter 4 by reference in /home/content/v/i/s/visionforum/html/includes/mcp/mcp_warn.php on line 434


it's appearing when I'm warning a user and I choose to notify user about the warn but if I don't choose this option it'll work...what 's happening!?

User avatar
pentapenguin
Former Team Member
Posts: 11030
Joined: Thu Jul 01, 2004 4:15 am
Location: GA, USA

Re: Problem in mcp_warn.php

Post by pentapenguin »

Are you using phpBB 3.0.0 or an older version?
Support Resources: Support Request Template
If you need professional assistance with your board, please contact me for my reasonable rates.

Mandarola
Registered User
Posts: 245
Joined: Tue Sep 25, 2007 3:21 am

Re: Problem in mcp_warn.php

Post by Mandarola »

I'm using phpbb 3.0.0

User avatar
pentapenguin
Former Team Member
Posts: 11030
Joined: Thu Jul 01, 2004 4:15 am
Location: GA, USA

Re: Problem in mcp_warn.php

Post by pentapenguin »

Do you have any MODs installed? Did you change that file? I don't think it will work, but if you haven't changed that file upload a fresh copy of includes/mcp/mcp_warn.php and see if that helps.
Support Resources: Support Request Template
If you need professional assistance with your board, please contact me for my reasonable rates.

jomasaco
Registered User
Posts: 32
Joined: Tue Dec 04, 2007 1:59 pm

Re: Problem in mcp_warn.php

Post by jomasaco »

Same here, phpbb 3.0
includes/mcp/mcp_warn.php - untouched

Mod installed and cause probable if is from other mod - SEO TOOL

Some one can confirm this?

User avatar
pentapenguin
Former Team Member
Posts: 11030
Joined: Thu Jul 01, 2004 4:15 am
Location: GA, USA

Re: Problem in mcp_warn.php

Post by pentapenguin »

Did it work before you installed the MOD?
Support Resources: Support Request Template
If you need professional assistance with your board, please contact me for my reasonable rates.

jomasaco
Registered User
Posts: 32
Joined: Tue Dec 04, 2007 1:59 pm

Re: Problem in mcp_warn.php

Post by jomasaco »

Fixed, caused by mod Multiple Descriptions.
Add an description on pm too, wo are not include on warm.

User avatar
BizimPencere
Registered User
Posts: 396
Joined: Sat Aug 25, 2007 8:31 pm

Re: Problem in mcp_warn.php

Post by BizimPencere »

jomasaco wrote:Fixed, caused by mod Multiple Descriptions.
Add an description on pm too, wo are not include on warm.
Are you problem solved.

I have beeen installed multiple desctiption

I can fix for this problem

FIND
ON MCP_WARN LINE 434

Code: Select all

submit_pm('post', $lang['WARNING_PM_SUBJECT'], $pm_data, false);
REPLACE TO

Code: Select all

submit_pm('post', $lang['WARNING_PM_SUBJECT'], 'description', $pm_data, false);

:)
www.phpbbturkiye.net | Turkish phpBB3 support and development

Locked

Return to “[3.0.x] Support Forum”