Uncaught TypeError: Cannot access offset of type string on string
-
Hello,
I have been getting sometimes the following error in wordpress log:
/var/www/vhosts/localhost/httpdocs/wp-content/plugins/url-shortify/lite/includes/Common/Actions.php. error message: Uncaught TypeError: Cannot access offset of type string on string in /var/www/vhosts/localhost/httpdocs/wp-content/plugins/url-shortify/lite/includes/Common/Actions.php:481 Stack trace: #0 /var/www/vhosts/localhost/httpdocs/wp-includes/class-wp-hook.php(303): Kaizen_Coders\Url_Shortify\Common\Actions->save_short_link() #1 /var/www/vhosts/localhost/httpdocs/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #2 /var/www/vhosts/localhost/httpdocs/wp-includes/plugin.php(470): WP_Hook->do_action() #3 /var/www/vhosts/localhost/httpdocs/wp-includes/post.php(4468): do_action() #4 /var/www/vhosts/localhost/httpdocs/wp-includes/post.php(4570): wp_insert_post() #5 /var/www/vhosts/localhost/httpdocs/wp-admin/includes/post.php(423): wp_update_post() #6 /var/www/vhosts/localhost/httpdocs/wp-admin/post.php(227): edit_post() #7 {main} thrown
this error i got on the latest update of url-shortify.
Previous versions sometimes gave the same error but different line (i guess some code has been added in the last version pushing the line number from 475 to 481)/var/www/vhosts/localhost/httpdocs/wp-content/plugins/url-shortify/lite/includes/Common/Actions.php. error message: Uncaught TypeError: Cannot access offset of type string on string in /var/www/vhosts/localhost/httpdocs/wp-content/plugins/url-shortify/lite/includes/Common/Actions.php:475 Stack trace: #0 /var/www/vhosts/localhost/httpdocs/wp-includes/class-wp-hook.php(303): Kaizen_Coders\Url_Shortify\Common\Actions->save_short_link() #1 /var/www/vhosts/localhost/httpdocs/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #2 /var/www/vhosts/localhost/httpdocs/wp-includes/plugin.php(470): WP_Hook->do_action() #3 /var/www/vhosts/localhost/httpdocs/wp-includes/post.php(4468): do_action() #4 /var/www/vhosts/localhost/httpdocs/wp-includes/post.php(4570): wp_insert_post() #5 /var/www/vhosts/localhost/httpdocs/wp-admin/includes/post.php(423): wp_update_post() #6 /var/www/vhosts/localhost/httpdocs/wp-admin/post.php(227): edit_post() #7 {main} thrown
Any idea?
Thank you
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Uncaught TypeError: Cannot access offset of type string on string’ is closed to new replies.