Wamp returns the following PHP error when I press ‘send’ in my simplemodal wordpress plugin contact form (version 1.2.6)
The wordpress version is 3.1….
I haven’t made any changes to the installation…. Any ideas? I’m building the website for a local charity
->
( ! ) Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\wordpress\wp-settings.php on line 219
Call Stack
# Time Memory Function Location
1 0.0014 418128 {main}( ) ..\smcf_data.php:0
2 0.0020 432192 require_once( 'C:\wamp\www\wordpress\wp-config.php' ) ..\smcf_data.php:3
( ! ) Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\wordpress\wp-settings.php on line 234
Call Stack
# Time Memory Function Location
1 0.0014 418128 {main}( ) ..\smcf_data.php:0
2 0.0020 432192 require_once( 'C:\wamp\www\wordpress\wp-config.php' ) ..\smcf_data.php:3
(it carries on like this for a while!)
UPDATE———————————————————
Thankyou for all your input…..So – my version of PHP seemed to be to blame. I changed to 5.2, from 5.35, and now ‘send’ returns no PHP error. The new error (of course!) is returned within the form, rather than as a server error as such, and reads -“Unfortunately, a server issue prevented delivery of your message.” Do I need to configure wamp for use with the mail function? I’m running 127- localhost 🙂
Your first error was with WordPress and the version of PHP you were running.
The second error is due to the fact that you probably do not have SMTP configured. You need to configure PHP (php.ini) to use either a local or remote SMTP server.