Fatal error: Cannot use string offset as an array in /usr/ho

Post Reply
kenhirai
Posts: 330
Joined: Wed Jan 02, 2013 4:25 am

Fatal error: Cannot use string offset as an array in /usr/ho

Post by kenhirai »

I have upgrade my script to the latest version and theres error when I view the gallery

Fatal error: Cannot use string offset as an array in /scj/includes/libs/content_functions.php on line 0
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Fatal error: Cannot use string offset as an array in /usr/ho

Post by admin »

W\o cache as well ?
Don't forget to run script update
kenhirai
Posts: 330
Joined: Wed Jan 02, 2013 4:25 am

Re: Fatal error: Cannot use string offset as an array in /usr/ho

Post by kenhirai »

yes without cache

any solution?
kenhirai
Posts: 330
Joined: Wed Jan 02, 2013 4:25 am

Re: Fatal error: Cannot use string offset as an array in /usr/ho

Post by kenhirai »

the log shows

2013-11-19 11:15:35 : Mysql error: 1062 (Duplicate entry 'process_deleted' for key 'name') in query insert into functions_data (name, value) values ('process_deleted', '0')
2013-11-19 11:15:35 : Mysql error: 1062 (Duplicate entry 'empty_tmp_folder' for key 'name') in query insert into functions_data (name, value) values ('empty_tmp_folder', '0')
2013-11-19 11:30:10 : Mysql error: 1054 (Unknown column 'b' in 'where clause') in query UPDATE rot_gallery_stats SET current_shows = current_shows + 1 WHERE thumb_id IN (b)
2013-11-19 11:30:10 : Mysql error: 1054 (Unknown column 'b' in 'where clause') in query UPDATE LOW_PRIORITY rot_gallery_stats SET
total_shows = current_shows + shows0 + shows1 + shows2 + shows3 + shows4 + shows5 + shows6 + shows7 + shows8 + shows9,
total_clicks = current_clicks + clicks0 + clicks1 + clicks2 + clicks3 + clicks4 + clicks5 + clicks6 + clicks7 + clicks8 + clicks9,
total_points = current_points + points0 + points1 + points2 + points3 + points4 + points5 + points6 + points7 + points8 + points9,
total_ctr = (current_points + points0 + points1 + points2 + points3 + points4 + points5 + points6 + points7 + points8 + points9)/(current_shows + shows0 + shows1 + shows2 + shows3 + shows4 + shows5 + shows6 + shows7 + shows8 + shows9)/1000
WHERE thumb_id IN (0,b)
2013-11-19 11:30:10 : Mysql error: 1054 (Unknown column 'b' in 'where clause') in query SELECT thumb_id, current_index, current_shows, current_clicks, current_points, total_shows FROM rot_gallery_stats
WHERE current_shows > '2000'
AND thumb_id IN (0,b)
2013-11-19 11:30:10 : Mysql error: 1054 (Unknown column 'b' in 'where clause') in query SELECT id, gallery_md5 FROM rot_galleries WHERE id IN (0,b)
kenhirai
Posts: 330
Joined: Wed Jan 02, 2013 4:25 am

Re: Fatal error: Cannot use string offset as an array in /usr/ho

Post by kenhirai »

after waiting for 20 mins now they work.
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Fatal error: Cannot use string offset as an array in /usr/ho

Post by admin »

How did you check it w\o cache ?
Don't forget to run script update
kenhirai
Posts: 330
Joined: Wed Jan 02, 2013 4:25 am

Re: Fatal error: Cannot use string offset as an array in /usr/ho

Post by kenhirai »

I use ?skip_ache=true at the back of the url
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Fatal error: Cannot use string offset as an array in /usr/ho

Post by admin »

of index page or category ?
Don't forget to run script update
Post Reply