Đã hoàn thành

Fixing 'Invalid argument supplied for foreach()' in WP


I just installed a new theme on a clean WordPress installation, and I get the following error message:

Warning: Invalid argument supplied for foreach() in /var/www/vhosts/[url removed, login to view] on line 96

See [url removed, login to view]

Instead of this message, you should see the title of the portfolio item and a brief excerpt.

I'd like to have this fixed and I'd also like to have a detailed explanation about what was changed (which lines of code in which file), so I can help the theme author to improve his theme.

Here you can download the entire [url removed, login to view] file: [url removed, login to view]



Kĩ năng: PHP, WordPress

Xem nhiều hơn: wordpress invalid argument supplied foreach, invalid argument supplied foreach wordpress, invalid argument supplied foreach, warning invalid argument supplied foreach, wordpress invalid argument supplied, warning invalid argument supplied foreach wordpress, invalid message supplied, wp content wordpress, themes wordpress download, warning invalid argument supplied foreach line appster, php error fixing, error fixing, excerpt, wordpress author page, supplied, invalid argument supplied foreach error, improve code clean, wordpress code explanation, wordpress download theme, detailed explanation, php excerpt, improve wordpress theme, warning page wordpress, improve theme, wordpress page warning

Về Bên Thuê:
( 21 nhận xét ) Amsterdam, Netherlands

ID dự án: #1695508

Được trao cho:


Check PM please, Thank you

$35 USD trong 0 ngày
(24 Đánh Giá)

8 freelancer đang chào giá trung bình $63 cho công việc này


wp/php team

$100 USD trong 1 ngày
(149 Nhận xét)

Hello, wordpress expert.i can fix. i see the page-portfolio.php. there is something problem with taxonomy terms related with 'portfolio-categories'. i need check it through system where this page is working. please sen Thêm

$50 USD trong 0 ngày
(174 Nhận xét)

I am ready and expert in wordpress

$60 USD trong 1 ngày
(95 Nhận xét)

Please check PMB.Thanks.

$70 USD trong 2 ngày
(44 Nhận xét)

Check PMB.

$40 USD trong 1 ngày
(247 Nhận xét)

Dear Hiring Manager, Professional and quality work is our prime concern. WordPress expert is here who is very eager to do the job for you. We have enclosed some of my WordPress project works in PMB. Please review PMB Thêm

$90 USD trong 1 ngày
(4 Nhận xét)

we have an experience developer in wordpress with theme customization and installation of plugin and creation of plugin and amazon api work we already solve like your bug so reply me with all detail

$60 USD trong 1 ngày
(0 Nhận xét)