Title: Strict Standards error during manual update
Last modified: August 30, 2016

---

# Strict Standards error during manual update

 *  Resolved [Mick Levin](https://wordpress.org/support/users/mick-levin/)
 * (@mick-levin)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/strict-standards-error-during-manual-update/)
 * Hello,
 * I just updated the plugin on a DEV server from v 2.0.6 to 3.6.2
 * It prompted for a manual update of the databases.
 * The AJAX call in a Console got an error page, which contains repeating errors,
   2 kinds of them.
 * Error #1 was that one:
 * Strict Standards: Only variables should be passed by reference in /var/www/dev/
   html/plugins/another-wordpress-classifieds-plugin/includes/upgrade/class-import-
   payment-transactions-task-handler.php on line 21
 * at that line in that file there is a following construct:
 * $hash = end(explode(‘-‘, $option_name));
 * According to PHP documentation the function “end” the parameter array “you must
   pass it a real variable and not a function returning an array”.
 * It seems is easily repaired by following that guide and replacing it with 2 following
   commands:
 * $option_name_array = explode(‘-‘, $option_name);
    $hash = end ($option_name_array);
 * Please review and fix.
 * Sincerely,
    Mick
 * [https://wordpress.org/plugins/another-wordpress-classifieds-plugin/](https://wordpress.org/plugins/another-wordpress-classifieds-plugin/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [AWP Classifieds Team](https://wordpress.org/support/users/awpcp/)
 * (@awpcp)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/strict-standards-error-during-manual-update/#post-6868779)
 * Hi Mick,
 * Sorry that you ran into issues here!
 * I’ll have my developer review this one as well.

Viewing 1 replies (of 1 total)

The topic ‘Strict Standards error during manual update’ is closed to new replies.

 * ![](https://ps.w.org/another-wordpress-classifieds-plugin/assets/icon-256x256.
   png?rev=2944356)
 * [AWP Classifieds](https://wordpress.org/plugins/another-wordpress-classifieds-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/another-wordpress-classifieds-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/another-wordpress-classifieds-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/another-wordpress-classifieds-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/another-wordpress-classifieds-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/another-wordpress-classifieds-plugin/reviews/)

## Tags

 * [strict standards](https://wordpress.org/support/topic-tag/strict-standards/)

 * 1 reply
 * 2 participants
 * Last reply from: [AWP Classifieds Team](https://wordpress.org/support/users/awpcp/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/strict-standards-error-during-manual-update/#post-6868779)
 * Status: resolved