Title: PHP Error in user_functions.php
Last modified: March 24, 2020

---

# PHP Error in user_functions.php

 *  Resolved [jimoe](https://wordpress.org/support/users/jimoe/)
 * (@jimoe)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/php-error-in-user_functions-php/)
 * version 1.4.3
 * In code module user_functions.php function ualHookBeforeEditPost($post_ID), line
   810, the following error is reported for this line of code:
    `$post_tax[$taxonomy_name]
   = $post_cats_ids;`
 * Error:
    `[23-Mar-2020 17:48:12 UTC] PHP Warning: Illegal string offset 'category'
   in /home/sohne/public_html/wp-content/plugins/user-activity-log/user_functions.
   php on line 810`
 * “post-tag” is also offered as an illegal string in the error log.
 * Is there a fix for this?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [jonhpierce](https://wordpress.org/support/users/jonhpierce/)
 * (@jonhpierce)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/php-error-in-user_functions-php/#post-12617014)
 * We also have this issue with 1.4.3.
 *  Plugin Contributor [Sanjay Dabhoya](https://wordpress.org/support/users/sanjaydabhoya/)
 * (@sanjaydabhoya)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/php-error-in-user_functions-php/#post-12621861)
 * Hi [@jimoe](https://wordpress.org/support/users/jimoe/) [@jonhpierce](https://wordpress.org/support/users/jonhpierce/)
 * Sorry for the inconvenience caused to you.
    its not good to discuss about code
   publicly for safety reason. Can you please contact us via WordPress slack, so
   we can communicate with this things in details and give you solution.
 * Waiting for your reply.
 * Thank you and regards,
 *  Plugin Contributor [Sanjay Dabhoya](https://wordpress.org/support/users/sanjaydabhoya/)
 * (@sanjaydabhoya)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/php-error-in-user_functions-php/#post-12679586)
 * Hi [@jonhpierce](https://wordpress.org/support/users/jonhpierce/) [@jimoe](https://wordpress.org/support/users/jimoe/)
 * There is no reply from your side, so I am considering that your problem solved
   and closing this ticket.
    If you have further query feel free to create new support
   thread Or contact me via WordPress Slack channel.
 * Thank you
 *  Thread Starter [jimoe](https://wordpress.org/support/users/jimoe/)
 * (@jimoe)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/php-error-in-user_functions-php/#post-12680461)
 * I missed your first reply.
 * What is WordPress slack?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘PHP Error in user_functions.php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/user-activity-log_2b5346.svg)
 * [User Activity Log](https://wordpress.org/plugins/user-activity-log/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-activity-log/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-activity-log/)
 * [Active Topics](https://wordpress.org/support/plugin/user-activity-log/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-activity-log/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-activity-log/reviews/)

## Tags

 * [illegal string](https://wordpress.org/support/topic-tag/illegal-string/)

 * 4 replies
 * 3 participants
 * Last reply from: [jimoe](https://wordpress.org/support/users/jimoe/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/php-error-in-user_functions-php/#post-12680461)
 * Status: resolved