Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Cars Pro Theme – Installation failed with php 8.2 #52063
    Rico Leutritz
    Participant

    Hi,

    thanks for your reply. I found the error by myself and fix it. Since PHP 8.x the “create_function” was deprecated and no longer available. You use this in your funtions.php on line 630.

    add_filter( 'loop_shop_columns', create_function( '$columns','return 3;' ) );

    I replace the function like this:

    add_filter( 'loop_shop_columns', function($columns){return 3;} );

    For other users of your templates, I think it is good to change this to the new version. I find your templates amazing.

    BR Rico

    in reply to: Cars Pro Theme – Top menu not changed #50392
    Rico Leutritz
    Participant

    Thanks a lot, that helps.

Viewing 2 posts - 1 through 2 (of 2 total)