Hello @alacaninsesi
Thank you for your message and sorry for any inconvenience which might have been caused due to that.
Can you please confirm if you are using the Gutenberg plugin on your website? If so, can you please disable the plugin and use the Block editor functionality from the core?
Hope that helps.
Hi @rankmath,
We have the same problem.
Fatal error: Cannot use RankMath\Helper as Helper because the name is already in use in /<path>/wp-content/plugins/seo-by-rank-math/includes/rest/class-post.php on line 19
We do not use any Gutenberg block plugin. PHP Version : 7.0.7
If we can help…
Regards,
Seb.
I have do the test with health check plugin.
All plugins disable. When i enable only Rank Math plugin, the error is here.
Regards,
Seb.
Ok.
We temporary change your file :
seo-by-rank-math/includes/rest/class-post.php
line 19 : use RankMath\Helper; become use RankMath\Helper as RHelper;
line 46 : return Helper::has_cap( ‘onpage_general’ ); become return RHelper::has_cap( ‘onpage_general’ );
This temporary modification avoid the conflict.
Regards,
Seb.
EDIT : Update my line 19 changes.
-
This reply was modified 6 years, 4 months ago by
emendo_seb.
-
This reply was modified 6 years, 4 months ago by
emendo_seb.
Thanks @rankmath
I use default editor on wordpress. I load Classic editor just now. The problem has disappeared.
But I dont use Classic editor.
The following error appears when adding a new post after you passive the classic editor
Fatal error: Cannot use RankMath\Helper as Helper because the name is already in use in /home/selimoz2/public_html/wp-content/plugins/seo-by-rank-math/includes/rest/class-post.php on line 19
Fatal error: Class ‘PasswordHash’ not found in /home/selimoz2/public_html/wp-includes/class-wp-recovery-mode-key-service.php on line 53
Hello @alacaninsesi, @seb-emendo
It seems like there’s an issue with PHP 5.6
We will be releasing an update soon which shall fix the issue.
In the meantime, you can ask your hosting to upgrade the PHP on your websites.
WordPress recommends at least 7.3
https://ww.wp.xz.cn/about/requirements/
We seek your patience and understanding in this matter.
Thank you.