There is a single line of code that's stopping me from upgrading my site's PHP. I'm not a programmer, but I'm hoping that since it's only one line, it might be something I can fix. The error is coming up as "PHP Fatal error: Uncaught Error: Call to undefined function" and is citing the following line of code as the culprit:
add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 8;' ), 20 );
Anyone have any idea of how to get this working properly?