Fatal Errors on pluggable.php

Don’t mess around with changing those files directly. It will break when that file gets changed in an update. Do this instead. add_filter( ‘wp_mail_from’, ‘override_mail_from_address’ ); add_filter( ‘wp_mail_from_name’, ‘override_mail_from_name’ ); function override_mail_from_address($email_address) { $from_array = explode(‘@’, $email_address); $from_address = $from_array[0]; $from_domain = $from_array[1]; if (strtolower($from_address) == ‘wordpress’) { $from_address = “myname”; /* Put the email … Read more

Fatal error: Call to a member function get_page_permastruct() on a non-object

The WordPress environment is not yet fully initialized when your plugin files are loaded, it’s almost always too early to safely run code that interacts with core at that point. WordPress achieves its initial state through a process which contains its own set of actions and filters, so plugins load before that happens to allow … Read more

WordPress problem with fatal error

The Google Captcha plugin that you are using requires at least WP version 3.9, which might be why you are getting the error. The WP 3.2.1 is quite an old version and there have been a few big security updates since, so you should update it anyway. Don’t forget to take a backup of your … Read more

Pass data from one page to anothe file/page in wordpress

You can try to use functions.php to handle the form submission and send the data via AJAX. Add a hidden field in your form with the action to be taken (on functions.php): <input type=”hidden” name=”action” value=”save_contact”/> In you footer.php add the jQuery code to handle the AJAX request: jQuery(‘#your-form’).submit(ajaxSubmit); function ajaxSubmit(e){ e.preventDefault(); var formData = … Read more

Fatal error: Allowed memory size of 146800640 bytes exhausted (tried to allocate 57 bytes) in public_html/wp-includes/rewrite.php on line 1561

There really is nothing anyone here can do for you with such limited information. It is obviously something within your recent changes. If you use a version control system (as everybody really should), I would roll back the changes and then from there slowly re-implement the changes that were causing this error to track it … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)