Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP8 compatibilty #32

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

PHP8 compatibilty #32

wants to merge 9 commits into from

Conversation

ogorzalka
Copy link

Hi guys !

We just made some changes to make the module compatible with PHP 8 :)

See you soon !

@@ -55,4 +55,4 @@ function init() {
\WP_CLI::add_command( 'shopping-feed feed-generation', '\\ShoppingFeed\ShoppingFeedWC\Cli\FeedGeneration' );
}

\add_action( 'plugins_loaded', __NAMESPACE__ . '\\init', 100 );
\add_action( 'init', __NAMESPACE__ . '\\init', 100 );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, why have changed this hook ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello,

Sorry for the response delay. in fact, activating the plugin triggered an error for us. By modifying the delay in which the callback function launches, this solved the problem.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What was the error message ? Because this is the right hook :)

@ogorzalka
Copy link
Author

Hello @Rahe

Here is the error :

Erreur lors de l'enregistrement de l'action: Undefined property: wpdb::$actionscheduler_groups

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants