Templates List Page PHP Error
-
Hey,
I think I broke something, I’m getting 2 errors on the templates list admin page:
Warning: usort() expects parameter 1 to be array, null given in C:\wamp\www\crowcreation\wp-content\plugins\fetch-tweets\include\class\backend\list_table\FetchTweets_ListTable_.php on line 269
and
Warning: array_slice() expects parameter 1 to be array, null given in C:\wamp\www\crowcreation\wp-content\plugins\fetch-tweets\include\class\backend\list_table\FetchTweets_ListTable_.php on line 287
Which results in no templates being listed. I can still see the ‘plain’ settings tab. All template files I believe are intact, and I have tried uninstalling/reinstalling the plugin. Also tried commenting out these lines in the file, which removes errors, but still no templates are listed.
I’m working on a localhost using wamp, so not sure if this could have caused the issue.
I also imported a rule from a backup of another site using a custom template, but have deleted it and is still broken.
Everything else works fine, but I can’t activate a new custom template for a theme ??
Thanks for taking a look, let me know if you want me to try anything.
Plugin is 2.4.8, php is 5.5.12.
Cheers! ??
Alfie
- The topic ‘Templates List Page PHP Error’ is closed to new replies.