• Hi,

    Thank you for the plugin!

    I found an error when using the plugin on PHP 8 and higher.

    
    ( ! ) Deprecated: Required parameter $args follows optional parameter $post in /www/kinsta/public/demo/wp-content/plugins/lightgallerywp/smartlogix-wrappers/smartlogix-settings-wrapper.php on line 202
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0052	363904	{main}( )	.../index.php:0
    2	0.0066	364296	require( '/www/kinsta/public/demo/wp-blog-header.php )	.../index.php:17
    3	0.0080	365528	require_once( '/www/kinsta/public/demo/wp-load.php )	.../wp-blog-header.php:13
    4	0.0114	366224	require_once( '/www/kinsta/public/demo/wp-config.php )	.../wp-load.php:50
    5	0.0135	375584	require_once( '/www/kinsta/public/demo/wp-settings.php )	.../wp-config.php:118
    6	0.7937	5800600	include_once( '/www/kinsta/public/demo/wp-content/plugins/lightgallerywp/lightgallerywp.php )	.../wp-settings.php:447
    7	0.7952	5801144	require_once( '/www/kinsta/public/demo/wp-content/plugins/lightgallerywp/smartlogix-wrappers/wrappers.php )	.../lightgallerywp.php:9
    
    ( ! ) Deprecated: Required parameter $args follows optional parameter $post in /www/kinsta/public/demo/wp-content/plugins/lightgallerywp/smartlogix-wrappers/smartlogix-cpt-wrapper.php on line 243
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0052	363904	{main}( )	.../index.php:0
    2	0.0066	364296	require( '/www/kinsta/public/demo/wp-blog-header.php )	.../index.php:17
    3	0.0080	365528	require_once( '/www/kinsta/public/demo/wp-load.php )	.../wp-blog-header.php:13
    4	0.0114	366224	require_once( '/www/kinsta/public/demo/wp-config.php )	.../wp-load.php:50
    5	0.0135	375584	require_once( '/www/kinsta/public/demo/wp-settings.php )	.../wp-config.php:118
    6	0.7937	5800600	include_once( '/www/kinsta/public/demo/wp-content/plugins/lightgallerywp/lightgallerywp.php )	.../wp-settings.php:447
    7	0.7952	5801144	require_once( '/www/kinsta/public/demo/wp-content/plugins/lightgallerywp/smartlogix-wrappers/wrappers.php )

    Kinds regards,

    Jaime!

  • The topic ‘PHP 8 compatiblity’ is closed to new replies.