To reproduce:
- navigate to admin/appearance/fontyourface/browse/fonts_com;
- select any filter that is likely to have several pages of results (e.g. Language: Cyrillic or Free or Paid: Free);
- navigate to page 2 (or whatever).
This results in:
Notice: Undefined index: op in fonts_com_browse_form() (line 985 of ../modules/fontyourface/modules/fonts_com/fonts_com.module).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Drave Robber’s picture

Potentially related issue: an attempt to click 'Reset' while something is typed into 'Name' field (but not applied) results in:

An AJAX HTTP request terminated abnormally.
Debugging information follows.
Path: /system/ajax
StatusText: 
ResponseText: 
ReadyState: 4

(update: does not seem so much related anymore)

Drave Robber’s picture

Title: Notice: Undefined index: op in fonts_com_browse_form() » Fix notice: Undefined index: op in fonts_com_browse_form()
Status: Active » Needs review
FileSize
998 bytes

Patch for #0 attached.

I tried to streamline the logic a bit but ran into some mysterious regression, so let's keep it simple.

On a side note, I couldn't get to the cause of #1 - maybe that should be a separate issue.

Drave Robber’s picture

Assigned: Drave Robber » Unassigned

Unassigning - not supposed to review own patches.

sreynen’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.