skip to Main Content

Call to undefined method WP_Textdomain_Registry::reset() – WordPress

My Wordpress site is broken and only shows this error message: Fatal error: Uncaught Error: Call to undefined method WP_Textdomain_Registry::reset() in /var/www/htdocs/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php:139 Stack trace: #0 /var/www/htdocs/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(119): WPMLSTMOHooksLanguageSwitch->resetTranslationAvailabilityInformation() #1 /var/www/htdocs/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(73): WPMLSTMOHooksLanguageSwitch->changeMoObjects('view-subscripti...') #2 /var/www/htdocs/wp-content/plugins/wpml-string-translation/classes/TranslateWpmlString.php(167): WPMLSTMOHooksLanguageSwitch->switchToLocale('view-subscripti...') #3 /var/www/htdocs/wp-content/plugins/wpml-string-translation/classes/TranslateWpmlString.php(109): WPMLSTTrans in /var/www/htdocs/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php on line…

VIEW QUESTION

Save meta field in wordpress?

I am trying to add a new select field to the page properties sidebar, but I am having trouble getting it to save the value. This is what I have at the moment: <?php function addMyMeta() { add_meta_box( 'my_custom_metabox', 'My…

VIEW QUESTION

i created a custom table for wordpress website that when i will create or update or delete post or page that time some information stored custom table

I want to store some information with my new custom table in Wordpress website, whenever admin create update or delete any post or page that time some information store my custom table. Below my custom table operations Operations: id,User_id,operation_type,table_name,row_id,operation_at,created_at,updated_at. user_id…

VIEW QUESTION

Can't fetch URL from database WordPress

Hi everyone in the database a column called attachments stores data like this "a:3:{s:6:"saveTo";s:7:"wpmedia";s:14:"attachmentType";s:6:"images";s:11:"attachments";a:1:{i:0;a:6:{s:12:"attachmentId";i:176165;s:4:"file";s:68:"https://www.yallamission.com/wp-content/uploads/2022/10/MG_00283.jpg";s:8:"fileName";s:12:"MG_00283.jpg";s:9:"thumbnail";s:76:"https://www.yallamission.com/wp-content/uploads/2022/10/MG_00283-150x150.jpg";s:8:"fileSize";s:9:"292.85 KB";s:8:"fileType";s:10:"image/jpeg";}}} i need to fetch the image url only yet i am unable to do it successfully as i don't understand this format I tried to…

VIEW QUESTION
Back To Top
Search